I have a nice animation set up so I have a bullet shooting a star that then rotates all after you hover over the gun, All works as it should but.......
After you take the mouse off the gun the star rotates the other way, Not good :( any ideas how to get it to stop?
I have tried to use 'active' instead but that doesn't work with an animation.
CSS
#star { width:48px; height:49px; position:absolute; z-index:5; left:922px; top:63px; -webkit-transition: all 4s ease-out; -moz-transition: all 4s ease-out; -o-transition: all 4s ease-out; -ms-transition: all 4s ease-out; transition: all 4s ease-out; } #gun:hover ~ #star { -webkit-transform:rotateZ(340deg); -moz-transform:rotateZ(340deg); -o-transform:rotateZ(340deg); -ms-transform:rotateZ(340deg); transform:rotateZ(340deg); -webkit-transition-delay: 1s; -moz-transition-delay: 1s; -o-transition-delay: 1s; -ms-transition-delay: 1s; transition-delay: 1 }