I have an element that rotates when you are forever above it for an indefinite period. When you hover over, the animation stops. Plain:
@-webkit-keyframes rotate { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } } .elem:hover { -webkit-animation-name: rotate; -webkit-animation-duration: 1.5s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; }
When you exit, the animation abruptly stops, returning to 0 degrees. I would like to revive this position, but I had problems with syntax development.
Any input would be awesome!
css css3 css-animations
Gavin Nov 03 2018-11-11T00: 00Z
source share