
Film slider
Transitions, Images, Hover
The seeds Hollow Lane, a made-up village seed library, lends out: nine cards with real photos in a grid of stepped columns. On a click every card closes like a shutter, in a wave from the point of the click, the chosen one last; the seed’s page opens, with the photo coming out from behind two curtains and the number at the top rolling from 148 varieties to the packets left. «Back» opens the cards again one after the other. Minimal style. From the transition from the grid to a story on the 197 Historias Ilustradas site, Awwwards Site of the Day on 20/11/2026.
Rebuilt from scratch studying 197historiasilustradas.com by ++hellohello: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Shutter grid transition" 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>Hollow Lane Seed Library</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/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the seeds a made-up village seed library lends out. A click on a card closes every card of the grid like a
shutter, in a wave that starts from the card you clicked (which closes last), and the seed's own page opens: the
photo comes out from behind two curtains and the number at the top rolls from the varieties in the library to
the packets left of that seed. Back opens the cards again -->
<main class="pagina">
<header class="testa">
<div class="marchio" aria-live="polite">
<span class="conta" data-conta aria-hidden="true">
<span class="cifra"><span class="striscia" data-striscia>0 1 2 3 4 5 6 7 8 9</span></span><span class="cifra"><span class="striscia" data-striscia>0 1 2 3 4 5 6 7 8 9</span></span><span class="cifra"><span class="striscia" data-striscia>0 1 2 3 4 5 6 7 8 9</span></span>
</span>
<span class="etichetta" aria-hidden="true">
<span class="etichetta__riga" data-etichetta><span>varieties</span><span>packets left</span></span>
</span>
<span class="solo-lettore" data-letto>148 varieties</span>
</div>
<p class="mono testa__nome">Hollow Lane Seed Library</p>
<button class="mono indietro" type="button" data-indietro tabindex="-1" aria-hidden="true">
<span class="indietro__fondo" aria-hidden="true"></span>
<span class="indietro__testo">[ Back ]</span>
</button>
</header>
<section class="griglia" data-griglia aria-label="Seeds in the library">
<button class="card" type="button" data-card data-i="0"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Breadseed poppy</span><span class="card__resto"><span>23 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="papavero.webp" width="900" height="600" alt="Dry poppy heads on grey linen" style="object-position: 52% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="1"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Orchard walnut</span><span class="card__resto"><span>6 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="noce.webp" width="900" height="600" alt="Walnuts in their shells" style="object-position: 60% 40%"></span></span></span></button>
<button class="card" type="button" data-card data-i="2"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Mammoth sunflower</span><span class="card__resto"><span>41 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="girasole.webp" width="900" height="600" alt="Two hands full of striped sunflower seeds" style="object-position: 50% 40%"></span></span></span></button>
<button class="card" type="button" data-card data-i="3"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Blue flax</span><span class="card__resto"><span>17 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="lino.webp" width="900" height="601" alt="A wooden bowl of brown flax seed" style="object-position: 34% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="4"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Slow-bolt coriander</span><span class="card__resto"><span>32 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="coriandolo.webp" width="900" height="600" alt="Coriander seeds spilling from a glass bowl on burlap" style="object-position: 38% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="5"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Lane dandelion</span><span class="card__resto"><span>9 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="tarassaco.webp" width="900" height="597" alt="Two dandelion seeds floating" style="object-position: 46% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="6"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">White sesame</span><span class="card__resto"><span>12 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="sesamo.webp" width="900" height="600" alt="Dry sesame pods in a golden field" style="object-position: 26% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="7"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Runner bean</span><span class="card__resto"><span>54 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="fagiolo.webp" width="900" height="600" alt="A crate of green beans" style="object-position: 55% 50%"></span></span></span></button>
<button class="card" type="button" data-card data-i="8"><span class="card__cap"><span class="card__line" data-line><span class="card__nome">Broad bean</span><span class="card__resto"><span>28 left</span><span>Open</span></span></span></span><span class="card__ombra" data-ombra aria-hidden="true"></span><span class="card__media" data-media><span class="card__inner" data-inner><span class="card__zoom"><img data-img src="piantine.webp" width="900" height="600" alt="Beans sprouting in paper pots" style="object-position: 50% 55%"></span></span></span></button>
</section>
<section class="scheda" data-scheda aria-label="Seed" hidden>
<div class="scheda__colonna scheda__testo" data-parte>
<p class="mono scheda__piccolo" data-riga>Seed</p>
<h1 class="scheda__nome" data-riga data-s-nome>Breadseed poppy</h1>
<p class="mono scheda__latino" data-riga data-s-latino>Papaver somniferum</p>
<p class="scheda__storia" data-riga data-s-storia>Grown for the poppy rolls of the corner bakery.</p>
</div>
<div class="scheda__colonna scheda__fotocol" data-parte>
<div class="scheda__foto" data-foto>
<img data-foto-img src="papavero.webp" width="900" height="600" alt="">
<span class="tenda tenda--scura" data-tenda-scura aria-hidden="true"></span>
<span class="tenda tenda--chiara" data-tenda-chiara aria-hidden="true"></span>
</div>
</div>
<div class="scheda__colonna scheda__dati" data-parte>
<dl>
<div data-riga><dt class="mono">Saved by</dt><dd data-s-chi>Edna Vale</dd></div>
<div data-riga><dt class="mono">In the library since</dt><dd data-s-anno>1962</dd></div>
<div data-riga><dt class="mono">Sow</dt><dd data-s-semina>March</dd></div>
<div data-riga><dt class="mono">Germination</dt><dd data-s-germ>88%</dd></div>
</dl>
<button class="prendi" type="button" data-prendi data-riga>
<span class="prendi__fondo" aria-hidden="true"></span>
<span class="prendi__finestra"><span class="prendi__testo" data-prendi-testo><span>Borrow a packet</span><span>Set aside for you</span></span></span>
</button>
</div>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.
68 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Shutter grid transition” from Animorio and fit it into my siteEach card has a window (overflow hidden), inside it a panel that slides and inside that the photo. To close it the panel goes to yPercent 100 and the photo to yPercent -100 with a 1.15 scale, as on the site: the two opposite moves make the photo seem to stand still while the shutter comes down. The caption line also goes to -100 in its own window. The CSS hover sits on a fourth layer, because GSAP writes the photo’s transform.
The distance from each card’s centre to the click is measured and the farthest becomes distMax. Each card starts after dist / distMax * .15 s and closes in .35 s; the clicked card starts at .25 s, last, as on the site. From the keyboard the point is the card’s centre.
The site asks for an «ease-80» curve it never registers, and GSAP quietly falls back to its default. Here the shutters use the site’s signature curve, cubic-bezier(.33,0,0,1), written as a function (a Bezier solved with a few Newton steps), so no CustomEase is needed.
Three digits (padStart to 3, as on the site), each a strip from 0 to 9 in a window one line tall: the new digit is yPercent = -digit * 10, in .65 s with power2.inOut, the right digit first and the others .04 s apart.
Over the page’s photo a curtain in the page colour at 98% and under it one in ink pull away to the right (transform-origin right, scaleX to 0) in 1 s with cubic-bezier(.8,0,0,1), 100 ms apart; the photo comes in from translateX(-20%) and a 1.2 scale in 1.2 s with expo.out after .2 s. Going back, the page fades in .3 s and the cards open again in .9 s with expo.out, staggered by index / total * .25 s.
| Name | File | Default | What it changes |
|---|---|---|---|
CLOSE | script.js | 0.35 | Seconds each card takes to close (the site uses .35). |
WAVE | script.js | 0.15 | Seconds the wave takes from the clicked card to the farthest (the site uses .15). |
CLICKED_AT | script.js | 0.25 | When the clicked card closes, last (the site uses .25 s). |
ZOOM | script.js | 1.15 | How much the photo grows while its card closes (the site uses 1.15). |
REOPEN | script.js | 0.9 | Seconds each card takes to open again (the site uses .9 with expo.out). |
REOPEN_WAVE | script.js | 0.25 | Seconds over which the cards open one after the other (the site uses .25). |
COUNT | script.js | 0.65 | Seconds the number takes to roll to the packets left (the site uses .65). |
CURTAIN | script.js | 1 | Seconds the two curtains take to pull away from the photo (the site uses 1). |
DRIFT | script.js | 20 | How far the photo slides in under the curtains, in percent (the site uses 20). |
PRESS | script.js | 1 | Pixels a pressed card sinks. |
AUTO | script.js | 2.4 | Seconds before the page opens a seed by itself, when nobody touches it. |
For the gallery of an archive, a collection, a product catalogue, a portfolio or a library: many alike cards and a page for each, with a passage that shows which card you came from.
Same shutters and same wave from the tap. The grid picks its columns and the side of the cards by itself so all nine fit the screen, height included; the seed’s page puts the photo next to the name and the data in two columns below.
No shutters or curtains: the cards fade out in a wave, the seed’s page fades in, the number changes without rolling and the cards come back with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 20 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.
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.