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

HTML

Donghyeok Yun
Donghyeok Yun
4,514 Points

How do I create a CSS animation that makes a text fade away and stay faded away?

How do I create a CSS animation that makes a text fade away and stay faded away, because the animation always starts all over again and the text appears

1 Answer

Hey there, I think the thing you are looking for is the css-property called animation-fill-mode. If you want to keep the last frame of the animation just use - animation-fill-mode: forwards;