Created
July 25, 2013 07:05
-
-
Save malachi358/6077473 to your computer and use it in GitHub Desktop.
CSS Fade In Animation
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
| .fade-in { | |
| animation: fadein 4s; | |
| -moz-animation: fadein 4s; /* Firefox */ | |
| -webkit-animation: fadein 4s; /* Safari and Chrome */ | |
| -o-animation: fadein 4s; /* Opera */ | |
| } | |
| @keyframes fadein { | |
| from { | |
| opacity:0; | |
| } | |
| to { | |
| opacity:1; | |
| } | |
| } | |
| @-moz-keyframes fadein { /* Firefox */ | |
| from { | |
| opacity:0; | |
| } | |
| to { | |
| opacity:1; | |
| } | |
| } | |
| @-webkit-keyframes fadein { /* Safari and Chrome */ | |
| from { | |
| opacity:0; | |
| } | |
| to { | |
| opacity:1; | |
| } | |
| } | |
| @-o-keyframes fadein { /* Opera */ | |
| from { | |
| opacity:0; | |
| } | |
| to { | |
| opacity: 1; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment