Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?


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