
Blinds over images
Images, Scroll
Scroll inside the preview
The wine list of Osteria Brina, a made-up restaurant, on a warm night background: as you scroll the stage stays still with five wines on the left and a large photo on the right. The wine being poured lights up and opens its tasting note, a champagne mark follows it on a spring, and the photo changes with a curtain rising with a hairline of light on its edge and a slight zoom, under film grain; a glass label on the photo rolls to the vintage, serving temperature and region. The five photos are real (CC0).
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Wine list scroll" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Wine list, with the photo changing on scroll</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/opsz.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/opsz-italic.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the wine list of Osteria Brina, a made-up restaurant. Scrolling down, the stage stays still: on the left five
wines, on the right a large photo in a frame. The wine being told lights up and a thin mark follows it on a
spring, its tasting note opens, and the photo changes with a curtain rising over it, a little zoom and grain,
while a small glass label on the photo rolls to the vintage and the serving temperature -->
<header class="barra">
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3c3.2 3.4 4.8 6.4 4.8 9a4.8 4.8 0 0 1-9.6 0c0-2.6 1.6-5.6 4.8-9Z" /><path d="M12 16.8V21" /></svg>
Osteria Brina
</p>
<nav class="barra__voci" aria-label="Main">
<a href="#">Menu</a>
<a href="#" aria-current="page">Wine</a>
<a href="#">Book</a>
</nav>
</header>
<main>
<section class="apertura">
<p class="piccolo">Osteria Brina, the wine list</p>
<h1 class="titolo">Five bottles <em>for the autumn menu.</em></h1>
<p class="piccolo piccolo--tenue">
Scroll to pour them
<svg class="giu" viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
</p>
</section>
<section class="carta" data-carta>
<div class="palco">
<div class="scena">
<div class="lista">
<div class="lista__testa">
<p class="etichetta">Wine list <span>Autumn 2026</span></p>
<p class="lista__colonne" aria-hidden="true"><span>Glass</span><span>Bottle</span></p>
</div>
<ul class="vini" data-vini>
<li class="vino" data-vino data-annata="2020" data-gradi="6–8" data-zona="Lombardy" data-tinta="#d8b46a">
<button class="vino__tasto" type="button">
<span class="vino__riga">
<span class="vino__nome">Franciacorta Brut</span>
<span class="vino__prezzi"><span>€14</span><span>€68</span></span>
</span>
<span class="vino__dove">Cascina Rovere<i></i>Lombardy<i></i>2020</span>
<span class="vino__piu"><span class="vino__note">Fine, slow bubbles, bread crust and green apple, then a dry, chalky finish.</span></span>
</button>
</li>
<li class="vino" data-vino data-annata="2023" data-gradi="10–12" data-zona="Marche" data-tinta="#e3c98b">
<button class="vino__tasto" type="button">
<span class="vino__riga">
<span class="vino__nome">Verdicchio Classico</span>
<span class="vino__prezzi"><span>€9</span><span>€42</span></span>
</span>
<span class="vino__dove">Fattoria Lunetta<i></i>Marche<i></i>2023</span>
<span class="vino__piu"><span class="vino__note">Almond, white peach and wild fennel. Round, a little salty, long.</span></span>
</button>
</li>
<li class="vino" data-vino data-annata="2021" data-gradi="15–16" data-zona="Sicily" data-tinta="#c4473a">
<button class="vino__tasto" type="button">
<span class="vino__riga">
<span class="vino__nome">Etna Rosso</span>
<span class="vino__prezzi"><span>€12</span><span>€56</span></span>
</span>
<span class="vino__dove">Tenuta Sciara<i></i>Sicily<i></i>2021</span>
<span class="vino__piu"><span class="vino__note">Wild cherry, volcanic smoke and orange peel. Light on its feet.</span></span>
</button>
</li>
<li class="vino" data-vino data-annata="2021" data-gradi="16–17" data-zona="Piedmont" data-tinta="#d0763c">
<button class="vino__tasto" type="button">
<span class="vino__riga">
<span class="vino__nome">Langhe Nebbiolo</span>
<span class="vino__prezzi"><span>€13</span><span>€62</span></span>
</span>
<span class="vino__dove">Cantina Valbruma<i></i>Piedmont<i></i>2021</span>
<span class="vino__piu"><span class="vino__note">Rose petals, tar and sour cherry. Firm tannins that soften with air.</span></span>
</button>
</li>
<li class="vino" data-vino data-annata="2016" data-gradi="17–18" data-zona="Tuscany" data-tinta="#a8452c">
<button class="vino__tasto" type="button">
<span class="vino__riga">
<span class="vino__nome">Brunello Riserva</span>
<span class="vino__prezzi"><span>€24</span><span>€140</span></span>
</span>
<span class="vino__dove">Podere Casalvento<i></i>Tuscany<i></i>2016</span>
<span class="vino__piu"><span class="vino__note">Dried plum, leather, tobacco and violet. Deep and slow, built to wait.</span></span>
</button>
</li>
</ul>
<i class="segno" data-segno aria-hidden="true"><i class="segno__luce"></i></i>
<i class="piatto" data-piatto aria-hidden="true"></i>
</div>
<figure class="foto">
<i class="foto__alone" data-alone aria-hidden="true"></i>
<i class="foto__ombra" aria-hidden="true"></i>
<div class="foto__cornice" data-cornice>
<div class="scatto" data-scatto><img src="bottiglie.webp" alt="Sparkling bottles with gold foil, resting in a wooden rack" width="1024" height="683" decoding="async" style="object-position: 46% 50%"></div>
<div class="scatto" data-scatto><img src="calice.webp" alt="A glass of white wine on a wooden table, in warm light" width="960" height="640" decoding="async" style="object-position: 52% 50%"></div>
<div class="scatto" data-scatto><img src="tramonto.webp" alt="Red wine poured into two glasses at sunset" width="960" height="1440" decoding="async" style="object-position: 50% 62%"></div>
<div class="scatto" data-scatto><img src="vigna.webp" alt="A row of autumn vines fading into the fog" width="683" height="1024" decoding="async" style="object-position: 50% 55%"></div>
<div class="scatto" data-scatto><img src="cantina.webp" alt="Oak barrels in a vaulted cellar, under warm lamps" width="1024" height="683" decoding="async" style="object-position: 62% 50%"></div>
<i class="tenda" data-tenda aria-hidden="true"></i>
<i class="grana" data-grana aria-hidden="true"></i>
<i class="foto__riflesso" aria-hidden="true"></i>
<div class="vetro" aria-hidden="true">
<span class="vetro__campo">
<span class="vetro__nome">Vintage</span>
<span class="vetro__valore" data-valore="annata"><span>2020</span></span>
</span>
<i class="vetro__riga"></i>
<span class="vetro__campo">
<span class="vetro__nome">Serve at</span>
<span class="vetro__valore" data-valore="gradi"><span>6–8 °C</span></span>
</span>
<i class="vetro__riga vetro__riga--largo"></i>
<span class="vetro__campo vetro__campo--largo">
<span class="vetro__nome">Region</span>
<span class="vetro__valore" data-valore="zona"><span>Lombardy</span></span>
</span>
</div>
</div>
</figure>
</div>
</div>
</section>
<section class="apertura apertura--fine">
<h2 class="titolo titolo--medio">Not sure? <em>Ask Marta, our sommelier.</em></h2>
<a class="pulsante" href="#"><span>Book a table</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
69 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Wine list scroll” from Animorio and fit it into my siteThe section is 600vh tall and a 100lvh sticky stage stays still inside it. Lenis smooths the scroll and hands every step to ScrollTrigger; the GSAP ticker drives Lenis. A timeline tied to the scroll with scrub SCRUB moves numbers, not elements: how far each photo's curtain has risen, with a pause on every wine.
Each photo has a clip-path inset that goes from 100% at the top to 0 with expo.inOut: the photo is uncovered from the bottom. A hairline of light runs on the curtain's edge (a 1px line with a glow and a light spilling under it), fading in and out over the run. The new photo settles from ZOOM to 1 and from a little lower; the one underneath is pushed to PUSH and dimmed by DIM with a filter.
The wine being poured is the last one whose curtain is past half way. It takes the attivo class: full opacity, a heavier font weight in transition, a champagne glass price, and the note opening with grid-template-rows from 0fr to 1fr. Touching a wine, lenis.scrollTo takes you to the point of the timeline where that wine holds.
On every frame the mark reads where the active row is (even while the note opens and the row grows) and reaches it with a real spring: stiffness SPRING, damping BOUNCE, in small steps. It stretches with its speed and a glint runs down it when it arrives; the plate of light behind follows the same spring.
The photos are light webp files with object-fit cover and an object-position each. The grain is a noise canvas painted once, in overlay mode at strength GRAIN, moved twelve times a second like film. The glass label (backdrop-filter) has three windows one line tall: the old value leaves, the new one comes in with back.out, in the direction of the scroll; the glow behind the frame changes colour by tweening a CSS variable.
| Name | File | Default | What it changes |
|---|---|---|---|
ZOOM | script.js | 1.14 | How zoomed in a photo is when its curtain starts to rise. |
PUSH | script.js | 1.06 | How far the photo underneath is pushed back while it is covered. |
DIM | script.js | 0.42 | How much the photo underneath darkens (0 = not at all). |
SPRING | script.js | 170 | How stiff the spring of the mark is. |
BOUNCE | script.js | 0.62 | How damped the mark is (lower = more overshoot). |
GRAIN | script.js | 0.16 | How much film grain lies on the photo. |
SCRUB | script.js | 0.6 | How many seconds the stage takes to catch up with the scroll. |
For the wine list or menu of a restaurant, a wine shop, a wine bar or a winery with tastings; but also for any short list where every item has its own photo: the rooms of a hotel, the dishes of the day, the products of a collection. Swap the photos in the five img tags of the HTML (the webp files in the folder), vintage, temperature and region in the data attributes of each wine, the colours in :root.
The same animations at adapted sizes: the photo sits on top, as wide as the screen and at most a third of its height, the list under it with smaller names and without the column heads; the glass label shows the vintage and temperature.
No movement: no Lenis, the photos cross-fade from one to the next without curtain or zoom, the mark jumps to the row without a spring, the label values change with a fade.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, Fraunces (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 5 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.