javascript - Hover Fade In And Out -
sir!, have question! possible when hover table or images, fade in-out-in-out , on. , won't stop unless point out hover? in css or js please thank you!
apparently, missed wanted pulsing effect perhaps old blink tag. updated example uses css animation, there other alternatives well.
@keyframes pulse { { opacity: 1 } { opacity: 0 } } .fade:hover { animation-name: pulse; animation-duration: 500ms; animation-iteration-count: infinite; animation-direction: alternate; animation-timing-function: ease-in-out; }
<div class="fade">fade on hover</div>
Comments
Post a Comment