basicScroll – parallax scrolling with CSS variables ↦
allows you to change CSS variables depending on the scroll position. Use the variables directly in your CSS to animate whatever you want.
I was expecting this to only work on the bleeding edge, but it turns out CSS variables have pretty wide browser support these days.
Sign in or Join to comment or subscribe