Skip to content

Instantly share code, notes, and snippets.

@Wolfr
Created July 27, 2011 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wolfr/1109620 to your computer and use it in GitHub Desktop.
Save Wolfr/1109620 to your computer and use it in GitHub Desktop.
Fade in animation
/* Fade in animation */
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#content {
-webkit-animation-name: fadeIn;
-webkit-animation-timing-function: ease-out;
-webkit-animation-duration: 0.5s;
-moz-animation-name: fadeIn;
-moz-animation-timing-function: ease-out;
-moz-animation-duration: 0.5s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment