DEV Community

Discussion on: How to create pure CSS illustrations and animate them - Part 2

Collapse
 
chooblarin profile image
Sota Hatakeyama

Thank you for your great article!

I found an errata about CSS animation. animation-iteration-count: infinite; is right.

.square {
  animation-name: rotation;
  animation-duration: 5s;
  animation-timing-function: linear;
  /* animation-fill-mode: infinite; */
  animation-iteration-count: infinite;
}

Shorthand animation: rotation 5s linear infinite; works though

Collapse
 
agathacco profile image
Agathe Cocco

Good catch, and thanks for reporting it. I'll edit the post.