This tutorial shows how to build a parallax scrolling page with HTML, CSS and JavaScript, where background layers move at different speeds as the user scrolls. It is aimed at people who want to add depth and interactive motion to a website.
What you’ll learn
✓Build a parallax scrolling effect with CSS background properties
✓Use background-attachment and background-size to create scrolling depth
✓Add fixed and layered backgrounds to a web page with HTML, CSS and JavaScript