Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create true parallax effects using CSS-only techniques in this 18-minute video tutorial. Discover how to leverage the scroll-timeline: scroll() property to achieve authentic parallax scrolling without relying on JavaScript. Explore the process of setting up HTML structure, stacking elements with CSS, and creating animations for parallax effects. Master the application of scroll-based animations and learn to control the speed of individual layers. Address common issues such as element positioning and overflow handling. Gain insights into browser support and the use of polyfills to ensure compatibility across different platforms.
Syllabus
- Introduction
- How we need to set up our HTML
- Stacking everything with CSS
- Creating the animation for the parallax
- Applying the animation to when the user scrolls with animation-timeline scroll
- Changing the “speed” of each element
- Making sure the elements don’t go in front of other content
- Overflow hidden doesn’t work
- Browser support and a polyfill
Taught by
Kevin Powell