Skip to content

Instantly share code, notes, and snippets.

@Legends
Last active January 27, 2020 02:12
Show Gist options
  • Select an option

  • Save Legends/6b376ba766160428836c7cd63ef78fbb to your computer and use it in GitHub Desktop.

Select an option

Save Legends/6b376ba766160428836c7cd63ef78fbb to your computer and use it in GitHub Desktop.
// Animate.css also provides css classes to determine speed and delay:
// https://github.com/daneden/animate.css/#setting-delay-and-speed
// Add the `animated` class to your element:
<div id="personal" class="animated">
// Set animation via css:
#personal{
animation-name: fadeIn;
animation-delay: 0.3s;
}
// change the animation
.minified #personal {
animation-name: fadeOutLeft;
animation-delay: 0s;
animation-iteration-count: 1;
}
// In general:
.yourElement {
animation-duration: 3s;
animation-delay: 2s;
animation-iteration-count: infinite;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment