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