Scroll

Parallax

Also called Parallax Scrolling, Parallax Layers, Parallax scroll, Depth parallax, Parallax hero

Layers move at different speeds relative to scroll to create a sense of depth.

Hero backgrounds, landing pages

  • vertical
  • horizontal
  • multi-layer
  • background
  • scroll parallax
  • mouse parallax
  • scroll-driven CSS

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add a "Parallax" scroll effect (also called parallax scrolling or parallax layers) to [where].
Background layers should move more slowly than the content as the page scrolls, the farthest layer moving least, for a subtle sense of depth.
Keep it tied to the scroll position without lag, keep text on the normal-speed layer, and turn the effect off for users who prefer reduced motion.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.