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 CSS Selectors Advanced Selectors :root and :target

Yosif Qassim
Yosif Qassim
6,367 Points

i want to learn how to make the animation that is provided in the teachers notes

where can i learn how to make this : https://codepen.io/Guilh/pen/QwvxOp

1 Answer

to make this I'd start with reviewing this:

@keyframes play {
    100% { background-position: -1900px; }
}

This seems to be the animation that is triggered.

Yosif Qassim
Yosif Qassim
6,367 Points

is there a course in treehouse that can learn me how to make animations ???

yes! there are two off the top of my head that I know of you might need to search a bit more, but here are two solid courses.

1: css-transitions-and-transforms

2: animating-svg-with-css