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

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