Created
March 6, 2015 16:55
-
-
Save guidoschmidt/aa1725374b8071642296 to your computer and use it in GitHub Desktop.
CSS3 Keyframe Animation Boilerplate
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
/* Standard */ | |
@keyframes fadeIn { | |
to {opacity: 1.0;} | |
} | |
/* Webkit-Based (Chrome, Safari) */ | |
@-webkit-keyframes fadeIn { | |
to {opacity: 1.0;} | |
} | |
/* Mozilla */ | |
@-moz-keyframes fadeIn { | |
to {opacity: 1.0;} | |
} | |
/* Opera */ | |
@-moz-keyframes fadeIn { | |
to {opacity: 1.0;} | |
} | |
element { | |
-webkit-animation : fadeIn ease-in 1; | |
-moz-animation : fadeIn ease-in 1; | |
animation : fadeIn ease-in 1; | |
-webkit-animation-fill-mode : forwards; | |
-moz-animation-fill-mode : forwards; | |
animation-fill-mode : forwards; | |
-webkit-animation-duration : 1s; | |
-moz-animation-duration : 1s; | |
animation-duration : 1s; | |
-webkit-animation-delay : 1.5s; | |
-moz-animation-delay : 1.5s; | |
animation-delay : 1.5s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment