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

Emmanuel Rojas
Emmanuel Rojas
6,994 Points

Help My animation is not working

Hi I am trying to rotate the star I do not see any thing wrong but still does not work. Could someone plese take a look to know what is wrong. Thank u!!

http://codepen.io/Eojasa104/pen/LWeGOW

1 Answer

Iulian Maxim
Iulian Maxim
6,958 Points

Hello,

On your code

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

you have to add s ( seconds ) to the .2 syntax

it becomes then like this

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

Anyone could have missed it. Good luck !

Emmanuel Rojas
Emmanuel Rojas
6,994 Points

I got it thank you very much