Skip to content
All effects

Sticky overlap reveal

A full-screen panel pins in place while the next section slides over it like a new layer.

Scroll

This is the real effect. Scroll or move your mouse inside the frame to try it.

The prompt

Add a sticky overlap reveal to [the sections I point to]: each full-screen panel pins in place while the next one slides over it like a new layer. Behaviour: every panel is position: sticky with top 0 and the full viewport height, so it stays put while the next panel scrolls up over it. While a panel is being covered, scale its content down to about 0.94, move its text up slightly and darken it with an overlay to about 55%, all based on how far the next panel has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Images: object-fit: cover inside a fixed frame, so any image works, and keep the text readable on top of them. Works from 360px. Respect prefers-reduced-motion by keeping the pinning but removing the scale and movement. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.

What it is

A section pins to the screen and the next one slides over it, like a new page being laid on top. The section underneath sinks back and darkens a little.

When it works

For a few big statements with strong visuals. It works well for a part of the page with one strong message, like what a business focuses on. It makes a simple message feel heavy, in a good way.

Get it right

  • Use strong images. This effect is all about the visuals.
  • Let the panel underneath sink back and darken a little. That is what makes it feel like a layer.
  • Three or four panels is plenty.

Also called

  • Pinned panel overlap
  • Sticky image reveal
  • Scroll-over sections
  • Layered panels on scroll

More effects.

All effects