From the course: CSS: Scrolling and Parallax

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Downloading and installing ScrollMagic

Downloading and installing ScrollMagic - CSS Tutorial

From the course: CSS: Scrolling and Parallax

Downloading and installing ScrollMagic

- [Instructor] As your animations get to be more complex, it will be nice to install a library that makes some types of interactions a little bit easier. I really love the ScrollMagic library. It makes some of the things that we've been doing with Pure JavaScript a little bit simpler. However, I do think that it's good that you know how to do it with Pure JavaScript. So for example, you can trigger animations based on when the browser reads a certain position, and it's going to make it more compatible with older browsers, so it'll take care of that. In addition to that, you can also pin elements, and pinning means that you can make an animation temporarily stop at a point in the page while it plays an animation, or an animation is triggered for a period of time. When that time ends, then you can continue the scrolling, so it'll let you lock the scroll for a period of time, which is another pretty cool effect. This also lets…

Contents