Skip to content

Instantly share code, notes, and snippets.

@atmartins
Forked from benjaminfisher/fadein.css
Created November 22, 2016 02:16
Show Gist options
  • Save atmartins/8493eec87f95f6e8b4a11cf8de1d728d to your computer and use it in GitHub Desktop.
Save atmartins/8493eec87f95f6e8b4a11cf8de1d728d to your computer and use it in GitHub Desktop.
CSS for fadein keyframes
/* name, duration, timing function, delay, fill mode */
-webkit-animation: fadeIn 700ms ease-in-out 1s both;
animation: fadeIn 700ms ease-in-out 1s both;
@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment