Scroll zoom

Mood track «Infinite Perspective» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Example image of the style Scroll zoom
Preview built in HTML and CSS in this style

Zoom al hacer scroll · Zoom on scroll · Scroll zoom · Scale on scroll · Immagine che si allarga allo scroll

As you scroll, a framed image in the centre grows until it fills the whole screen, as if the camera were stepping into the scene. Its corners square off and a headline appears on top.

Era
2015 – today
Use
Mainstream
Domain
Web / UIMotion
Mood
immersivedramaticelegant
Explore

Live demo

View code
<main>
  <p class="top">Collezione 2026 <span>scorri ↓</span></p>
  <div class="frame">
    <div class="scene"><i class="sky"></i><i class="sun"></i><i class="m1"></i><i class="m2"></i><i class="lake"></i></div>
    <h1>Entra nel <em>paesaggio</em></h1>
  </div>
</main>
body{margin:0;height:100vh;overflow:hidden;background:#0B0B0F;font-family:Inter,sans-serif;color:#F4F1EA}
main{position:relative;height:100%;display:grid;place-items:center}
.top{position:absolute;top:14px;left:0;right:0;display:flex;justify-content:space-between;padding:0 18px;margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;z-index:2;mix-blend-mode:difference}
.frame{position:absolute;inset:0;clip-path:inset(0 round 0);display:grid;place-items:center}
.scene{position:absolute;inset:0}
.scene i{position:absolute;display:block}
.sky{inset:0;background:linear-gradient(#1E2A44,#3A5BA0 45%,#FF8A3D 75%,#F9C784)}
.sun{left:58%;top:44%;width:60px;height:60px;border-radius:50%;background:#FFE4B5;box-shadow:0 0 60px 20px #FF8A3D88}
.m1{left:-10%;right:30%;bottom:20%;height:45%;background:#1E2A44;clip-path:polygon(0 100%,35% 20%,55% 60%,70% 35%,100% 100%)}
.m2{left:35%;right:-10%;bottom:20%;height:38%;background:#0B0B0F;clip-path:polygon(0 100%,40% 10%,70% 55%,100% 100%)}
.lake{left:0;right:0;bottom:0;height:20%;background:linear-gradient(#FF8A3D66,#0B0B0F)}
h1{position:relative;font-family:'Instrument Serif',serif;font-weight:400;font-size:clamp(34px,9vw,60px);margin:0;text-align:center;text-shadow:0 4px 30px #0008}
h1 em{color:#F9C784}
@media (prefers-reduced-motion:no-preference){
  .frame{animation:zoom 6s cubic-bezier(.65,0,.35,1) infinite}
  .scene{animation:inner 6s cubic-bezier(.65,0,.35,1) infinite}
  h1{animation:txt 6s ease infinite}
  .top span{animation:hint 1.2s ease-in-out infinite alternate}
  @keyframes zoom{0%,12%{clip-path:inset(28% 34% round 28px)}55%,88%{clip-path:inset(0 0 round 0)}100%{clip-path:inset(28% 34% round 28px)}}
  @keyframes inner{0%,12%{transform:scale(1.35)}55%,88%{transform:scale(1)}100%{transform:scale(1.35)}}
  @keyframes txt{0%,45%{opacity:0;transform:translateY(24px) scale(.96)}62%,86%{opacity:1;transform:none}96%,100%{opacity:0}}
  @keyframes hint{to{transform:translateY(3px);opacity:.5}}
}

Characteristics

  • Scale tied to scroll position
  • Section pinned while the zoom happens
  • Corner radius shrinking to zero
  • Text entering once the zoom ends
  • Typical of high-end product pages

Palette

Click a swatch to copy it

Typography

Headings · Instrument Serif Scroll zoom

Body · Inter As you scroll, a framed image in the centre grows until it fills the whole screen, as if the camera were stepping into the scene. Its corners square off and a headline appears on top.

Motion

Easing
legato allo scroll; scrub con leggero smoothing
Typical duration
100–200 vh di scroll per lo zoom completo
Techniques
GSAP ScrollTrigger con pin e scrub, CSS animation-timeline scroll(), transform scale, clip-path inset con round, position sticky

Accessibility (reduced motion)

The image is already full width and the headline visible; no scroll-linked zoom.

Prompt for your agent

Copy and paste into your prompt to have an agent or image generator reproduce this style.

For web pages and UI

Design the web page or interface in this style: Scroll zoom (Zoom al hacer scroll, Zoom on scroll).
As you scroll, a framed image in the centre grows until it fills the whole screen, as if the camera were stepping into the scene. Its corners square off and a headline appears on top.
Characteristics: Scale tied to scroll position, Section pinned while the zoom happens, Corner radius shrinking to zero, Text entering once the zoom ends, Typical of high-end product pages.
Palette: #0B0B0F, #F4F1EA, #FF8A3D, #3A5BA0, #1E2A44, #F9C784.
Typography: headings in Instrument Serif, body text in Inter (Google Fonts or equivalents).
Mood: immersive, dramatic, elegant.
Motion: easing legato allo scroll; scrub con leggero smoothing, typical duration 100–200 vh di scroll per lo zoom completo; techniques: GSAP ScrollTrigger con pin e scrub, CSS animation-timeline scroll(), transform scale, clip-path inset con round, position sticky.
With prefers-reduced-motion: The image is already full width and the headline visible; no scroll-linked zoom.
References: Pagine prodotto di smartphone e auto di fascia alta, GSAP ScrollTrigger pin e scrub, scroll-driven animations su MDN, siti premiati su Awwwards.

Relations

Derives from: Scroll-driven AnimationScroll-driven AnimationSimilar to: Zooming UIZooming UISimilar to: Image Sequence ScrollImage Sequence ScrollSimilar to: Mask RevealMask RevealScroll zoom
Derives fromSimilar toSee in the graph →

References

  • Pagine prodotto di smartphone e auto di fascia alta
  • GSAP ScrollTrigger pin e scrub
  • scroll-driven animations su MDN
  • siti premiati su Awwwards