Skip to content

Instantly share code, notes, and snippets.

@clemens
Last active April 12, 2016 15: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 clemens/552087222707350384a05d2e951eef63 to your computer and use it in GitHub Desktop.
Save clemens/552087222707350384a05d2e951eef63 to your computer and use it in GitHub Desktop.
@keyframes animation-1 {
/* whatever */
}
@keyframes animation-2 {
/* whatever */
}
@keyframes animation-3 {
/* whatever */
}
@keyframes animation-4 {
/* whatever */
}
@keyframes animation-5 {
/* whatever */
}
.some-element {
animation:
animation-1,
/* Is there any way to loop a set of animations like this */
animation-2, animation-3, animation-4,
animation-2, animation-3, animation-4,
animation-2, animation-3, animation-4,
animation-2, animation-3, animation-4,
animation-2, animation-3, animation-4,
/* until here? */
animation-5;
}
/*
Essentially, I'm looking for something like animation-iteration-count: 5 –
but not for a set of animations rather than one individual animation.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment