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 Animating stroke-dasharray and stroke-dashoffset

Pier-Luc Cossette
Pier-Luc Cossette
4,588 Points

The line animate in the wrong direction

Hi, I trying to animate a word with a svg that I made. The word write itself but in the wrong direction (Start from the end of the word and finish at the beginning). Can I control the direction of the animation?

https://jsfiddle.net/piieell/jo1ern3r/

Thank you!

Can you post your code up for me to take a little look over please pier-luc and I will have a little look at the key frames.

:)

1 Answer