Skip to content

Instantly share code, notes, and snippets.

@Klerith
Created August 1, 2018 23:38
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 Klerith/1668a5d7b06980d4490f624ed26fb8a8 to your computer and use it in GitHub Desktop.
Save Klerith/1668a5d7b06980d4490f624ed26fb8a8 to your computer and use it in GitHub Desktop.
Animated fadeIn
/* Animaciones */
.animated {
-webkit-animation-duration: 0.4s;
animation-duration: 0.4s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeIn {
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment