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

Animation-Fill-Mode

Did a search for this topic on the forum and didn't see anything. I just finished the animation section but this particular declaration left me scratching my head. I took a look at w3schools and they don't list it as a property. I did find a reference to it on the moz developer's site ( https://developer.mozilla.org/en-US/docs/Web/CSS/animation ). Anyone else have a hard time understanding this one?

James Barnett
James Barnett
39,199 Points

> I took a look at w3schools and they don't list it as a property.

Stuff like this is why some really smart people suggest never using w3schools as a reference.

2 Answers

Great video tutorial. Watched it twice. Thanks James! The only thing I wasn't clear about was the original positioning of the .ball in the second half of the video. The 0% keyframe set the position to 100px from the left. So, I'd deduce that it was positioned all the way to the left before any animation was applied. That explains the need to push it to the right to start with as the 20% keyframe positioned it -10px or some such. I do understand the concept better now. I'll have to do some practicing with it to work out a more detailed practical grasp of the utility of this tool.. So as far as W3school goes. That was a really interesting link you posted. I was curious who exactly the signatories were so I took a peek at several of the twitter feeds among them. Some pretty impressive looking folks in that group! It is a great benefit that I can learn to avoid potentially hazardous sources of information however "helpful" they may appear at first glance. Your help is much appreciated.