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

marc ohlsson
PLUS
marc ohlsson
Courses Plus Student 8,045 Points

stage 12 css animations challenge 1 0f 2, I am stuck . I can get the boat moving but not with fillmode. Help

Using the prefix for WebKit-based browsers, bind the bg-move animation to the body selector. Give it an 8 second duration, then set it so that the final keyframe continues to apply after the animation sequence has completed.

3 Answers

Richard Duncan
Richard Duncan
5,568 Points

Give the below a try, it's not tested because I haven't got the full code but there is a good summary available here should you get stuck: -

https://developer.mozilla.org/en-US/docs/Web/CSS/animation

body {
  -webkit-animation: bg-move 8s none 0s normal 1 none backwards;

}
marc ohlsson
PLUS
marc ohlsson
Courses Plus Student 8,045 Points

Jacob Miller @jacobmiller posted the correct answer. -webkit-animation: 8s forward.

marc ohlsson
PLUS
marc ohlsson
Courses Plus Student 8,045 Points

close but the answer is -webkit-animation: bg-move 8s forwards; Thanks for your time