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 trialBen Brown
11,927 PointsCSS Animation Constant Scroll
I don't know if what I have done is right or the best way but I have a simple PNG-8 file with clouds in it. It is 1200px wide and 700px height. The height is no issue I am applying a scroll to it so it looks like clouds are scrolling across the screen. I am getting the jump at the end of the animation when it jumps back to the first frame I am trying to remove this jump and just make the scroll constant.
My current solution is to have a ending keyframe that is 10000% position and a duration of 1000 seconds that's 16.6 minutes but it will then jump. Would people see this as a valid solution to the problem it's only for a 404 error screen so people aren't going to be on it for a long time.
Is there any other ways I could achieve this don't really want to use javascript.
1 Answer
Liam Tarpey
6,247 PointsCan you post a fiddle or codepen?