Created
December 4, 2012 04:07
-
-
Save bhargav2785/4200487 to your computer and use it in GitHub Desktop.
Understanding transition on various browsers
This file contains hidden or 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
/** | |
Understanding transition on various browsers | |
**/ | |
.animate{ | |
width: 100px; | |
height: 100px; | |
margin: 100px; | |
background-color: red; | |
-webkit-transform: rotate3d(0,1,0,360deg); | |
-webkit-transition: -webkit-transform 1s linear; | |
-moz-transform: rotate3d(0,1,0,360deg); | |
-moz-transition: -moz-transform 1s linear; | |
transform: rotate3d(0,1,0,360deg); | |
transition: transform 1s linear; | |
} |
This file contains hidden or 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
<div class='animate'></div> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"separate","fontsize":"60","seethrough":"","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment