Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Animating SVG with CSS Keyframe and Line Drawing Animations Finishing the Animation Sequence

Sam Weeks
seal-mask
.a{fill-rule:evenodd;}techdegree
Sam Weeks
Front End Web Development Techdegree Student 16,699 Points

Can anyone help? this code wont work

@keyframe turn {
  0% {
  transform: rotate(0) scale(0);
    opacity:0;
  } 
  60% {
   transform: rotate(375deg) scale(1.1);
  }
  80% {
   transform: rotate(355deg) scale(0.9);
  }
  100% {
   transform: rotate(360deg) scale(1);
  }
}

.star {
animation: turn 1.1s .2s eae-out backwards;

}

1 Answer

Steven Parker
Steven Parker
231,271 Points

It looks like you have two spelling errors:

  • "keyframe" (singular) instead of "keyframes"
  • "eae-out" instead of "ease-out"