Created
May 31, 2012 18:21
-
-
Save LogicShop/2845223 to your computer and use it in GitHub Desktop.
Spin and Fade with CSS Transform and Transition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img { | |
position: relative; | |
-webkit-transition: opacity, -webkit-transform, 1s; | |
} | |
img:hover { | |
opacity: 0; | |
-webkit-transition: opacity, -webkit-transform, 2s; | |
-webkit-transform: rotate(900deg) scale(0.05); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment