Created
March 11, 2014 09:07
-
-
Save alexadark/9482072 to your computer and use it in GitHub Desktop.
css animation: morp
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
.morph1 { | |
background: url(/wp-content/uploads/2014/01/but-webdesign-01.png); | |
-webkit-transition: all 0.5s ease; | |
-moz-transition: all 0.5s ease; | |
-o-transition: all 0.5s ease; | |
-ms-transition: all 0.5s ease; | |
transition: all 0.5s ease; | |
} | |
.morph1:hover { | |
background: url(/wp-content/uploads/2014/01/but-webdesign-02.png); | |
-webkit-transform: rotate(360deg); | |
-moz-transform: rotate(360deg); | |
-o-transform: rotate(360deg); | |
-ms-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment