Skip to content

Instantly share code, notes, and snippets.

@Kvaibhav01
Created July 3, 2018 19:03
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 Kvaibhav01/a111c07e2939e7c56b35d80b2369436b to your computer and use it in GitHub Desktop.
Save Kvaibhav01/a111c07e2939e7c56b35d80b2369436b to your computer and use it in GitHub Desktop.
CSS animation code snippet for animating with Keyframes extension
@keyframes divAnimation{
0%{
transform: rotate(0) translateY(-15%);
opacity: 0;
}
100%{
transform: rotate(0) translateY(0%);
opacity: 1;
}
}
@keyframes btnAnimation{
0%{
transform: rotate(0) translateX(-30px);
opacity: 0;
}
76%{
transform: rotate(0) translateX(10px);
opacity: .76;
}
100%{
transform: rotate(0) translateX(0px);
opacity: 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment