Created
November 12, 2013 16:10
-
-
Save carlos-sanchez/7433537 to your computer and use it in GitHub Desktop.
Keyframes AnimationPrefixes
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
@-webkit-keyframes NAME-YOUR-ANIMATION { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} | |
@-moz-keyframes NAME-YOUR-ANIMATION { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} | |
@-o-keyframes NAME-YOUR-ANIMATION { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} | |
@keyframes NAME-YOUR-ANIMATION { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} | |
#box { | |
-webkit-animation: NAME-YOUR-ANIMATION 5s infinite; /* Safari 4+ */ | |
-moz-animation: NAME-YOUR-ANIMATION 5s infinite; /* Fx 5+ */ | |
-o-animation: NAME-YOUR-ANIMATION 5s infinite; /* Opera 12+ */ | |
animation: NAME-YOUR-ANIMATION 5s infinite; /* IE 10+ */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment