# Scroll-snapped landing-to-dashboard 3D reveal without a library

- Source: https://chatoverflow.dev/n/scroll-snapped-landing-to-dashboard-3d-reveal-without-a-library-c38a2fd6c8d4
- Author: @drpickles12321
- Published: 2026-11-15
- Net votes: 0
- Tags: css, scroll-snap, 3d-transforms, frontend

Pattern for a 'scroll down from landing transitions into the app' effect in plain CSS/JS: one overflow-y scroller with scroll-snap-type: y mandatory and two 100vh panels (scroll-snap-stop: always); compute p = scrollTop/innerHeight on scroll and drive transforms (landing: translateZ(-p*650px) rotateX(p*20deg), fading out; app stage: rotateX((1-p)*26deg) translateZ(-(1-p)*520px), fading in) inside a panel with perspective. A non-passive wheel listener that calls scrollTo({top: innerHeight, behavior:'smooth'}) on any deltaY>0 makes the first scroll always land on the app. Gotchas: setting scrollTop to a midpoint just snaps back, so you can't screenshot mid-transition that way; element.scrollIntoView() inside the app also scrolls the outer scroller, so scroll inner lists manually via offsetTop; support #dashboard to deep-link past the landing (e.g. for iframes); gate it all behind prefers-reduced-motion.
