
Stacking certificates
Hover, Images
A hover animation in the style of premium products: the ‘New this week’ row of a made-up streaming app, Northlight, on a near black page. The poster under the pointer comes into focus the way posters do on a TV: it lifts on a spring, leans slightly towards the pointer and its three layers (the colour, the shape, the title) slide at three different depths, while a glass glare and a one pixel edge of light follow the pointer. The others step back and dim, the page takes the poster's colour and the details below change with it. On a press the poster gives, the glare flares and it goes into My List, with a check drawing itself in the corner.
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>
<!--
"Film poster row" 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>The film poster row that lifts with a glass glare</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- the "New this week" row of a streaming app, Northlight. The poster under the pointer comes into focus like on a
TV: it lifts on a spring, tilts a few degrees towards the pointer, its three layers (the colour, the shape, the
title) slide at three depths, and a glass glare and a 1px edge of light follow the pointer across it. The page
takes the poster's colour. A press adds it to My List -->
<div class="ambient" data-ambient aria-hidden="true"></div>
<section class="shelf" aria-label="New this week">
<header class="shelf__head">
<h1 class="shelf__title">New this week</h1>
<a class="shelf__all" href="#" data-all>See all
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M6 3.5L10.5 8 6 12.5"/></svg>
</a>
</header>
<div class="row" data-row>
<button class="poster poster--sun" type="button" data-poster aria-label="Paper Sun, add to My List">
<span class="poster__shadow" aria-hidden="true"></span>
<span class="poster__img">
<span class="poster__layer poster__bg" data-depth="-0.6"></span>
<span class="poster__layer poster__art" data-depth="0.5"><span class="sun"></span><span class="sun-ring"></span><span class="sun-ring sun-ring--2"></span><span class="horizon"></span></span>
<span class="poster__layer poster__words" data-depth="1"><span class="poster__kicker">Northlight</span><span class="poster__name">Paper<br>Sun</span></span>
<span class="poster__grain"></span>
</span>
<span class="poster__sheen" aria-hidden="true"></span>
<span class="poster__edge" aria-hidden="true"></span>
<span class="poster__badge" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="M4 8.4l2.6 2.6L12 5.4"/></svg></span>
</button>
<button class="poster poster--tide" type="button" data-poster aria-label="Low Tide, add to My List">
<span class="poster__shadow" aria-hidden="true"></span>
<span class="poster__img">
<span class="poster__layer poster__bg" data-depth="-0.6"></span>
<span class="poster__layer poster__art" data-depth="0.5"><span class="moon"></span><span class="water"></span></span>
<span class="poster__layer poster__words" data-depth="1"><span class="poster__chip">New episodes</span><span class="poster__name">Low<br>Tide</span></span>
<span class="poster__grain"></span>
</span>
<span class="poster__sheen" aria-hidden="true"></span>
<span class="poster__edge" aria-hidden="true"></span>
<span class="poster__badge" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="M4 8.4l2.6 2.6L12 5.4"/></svg></span>
</button>
<button class="poster poster--hours" type="button" data-poster aria-label="The Quiet Hours, add to My List">
<span class="poster__shadow" aria-hidden="true"></span>
<span class="poster__img">
<span class="poster__layer poster__bg" data-depth="-0.6"></span>
<span class="poster__layer poster__art" data-depth="0.5"><span class="arch"></span><span class="arch arch--in"></span></span>
<span class="poster__layer poster__words" data-depth="1"><span class="poster__kicker">Northlight</span><span class="poster__name">The Quiet<br>Hours</span></span>
<span class="poster__grain"></span>
</span>
<span class="poster__sheen" aria-hidden="true"></span>
<span class="poster__edge" aria-hidden="true"></span>
<span class="poster__badge" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="M4 8.4l2.6 2.6L12 5.4"/></svg></span>
</button>
<button class="poster poster--north" type="button" data-poster aria-label="Northbound, add to My List">
<span class="poster__shadow" aria-hidden="true"></span>
<span class="poster__img">
<span class="poster__layer poster__bg" data-depth="-0.6"></span>
<span class="poster__layer poster__art" data-depth="0.5"><span class="bar"></span><span class="bar bar--2"></span><span class="bar bar--3"></span><span class="dot-sun"></span></span>
<span class="poster__layer poster__words" data-depth="1"><span class="poster__kicker">Northlight</span><span class="poster__name">North<br>bound</span></span>
<span class="poster__grain"></span>
</span>
<span class="poster__sheen" aria-hidden="true"></span>
<span class="poster__edge" aria-hidden="true"></span>
<span class="poster__badge" aria-hidden="true"><svg viewBox="0 0 16 16"><path pathLength="1" d="M4 8.4l2.6 2.6L12 5.4"/></svg></span>
</button>
</div>
<div class="info" data-info>
<div class="info__text" data-text>
<p class="info__kicker" data-kicker>Northlight Original</p>
<h2 class="info__title" data-title>Paper Sun</h2>
<p class="info__meta"><span data-meta>Drama · 2026 · 8 episodes</span><span class="tag">4K</span><span class="tag">HDR</span></p>
</div>
<div class="info__actions">
<button class="btn btn--play" type="button" data-play>
<span class="btn__face" data-face>
<svg class="btn__icon" viewBox="0 0 16 16" aria-hidden="true"><path class="tri" d="M5.2 3.6v8.8L12.2 8z"/></svg>
<span>Play</span>
</span>
</button>
<button class="btn btn--list" type="button" data-list aria-pressed="false">
<span class="btn__face" data-face>
<svg class="btn__icon" viewBox="0 0 16 16" aria-hidden="true">
<path class="plus" data-plus d="M8 3.5v9M3.5 8h9"/>
<path class="tick" data-tick pathLength="1" d="M3.6 8.4l2.9 2.9 5.9-6.2"/>
</svg>
<span class="btn__words" data-words>My List</span>
</span>
</button>
</div>
</div>
</section>
<p class="sr" aria-live="polite" data-live></p>
</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.
44 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 “Film poster row” from Animorio and fit it into my siteEvery poster is a button holding the shadow, the picture (background, shape and title, each a layer with its depth in data-depth), the glare, the edge and the check. The shapes are CSS only: gradients, circles, an arch with 999px corners, slanted bars; the grain is an feTurbulence in an SVG inside the url.
The real pointer and the one of the walk on its own go through the same function: it finds the poster holding it using the unscaled rectangles (offsetLeft and offsetWidth, measured again on resize) and turns the point into -1 to 1 inside it.
The focus and the two pointer coordinates each have their own spring, integrated by hand in two steps per frame (stiffness 210, damping 17): the poster grows by 8.5%, lifts by 6 px, leans a degree towards the pointer and passes the mark by a pixel. The layers move by DEPTH times their depth, in opposite directions.
The --sx and --sy variables carry the pointer into the CSS: a radial glare in soft-light, a hot spot in screen and a linear band that moves the other way. The one pixel edge is a radial gradient cut by a mask that keeps only the frame.
On a click two timelines take the press and the flare to 1 in 0.1 s and bring them back to zero on a spring; the check's disc comes in with back.out and the check draws with stroke-dashoffset. The My List button spins its plus by 90 degrees and draws its own check.
| Name | File | Default | What it changes |
|---|---|---|---|
LIFT | script.js | 0.085 | How much the poster in focus grows (0.085 = 8.5%). |
TILT | script.js | 1.2 | How far it leans towards the pointer, in degrees. |
DEPTH | script.js | 7 | How far the layers slide apart, in pixels. |
GLARE | script.js | 1 | How bright the glass glare is. |
DIM | script.js | 0.38 | How much the other posters darken. |
STIFFNESS | script.js | 210 | The spring of the focus: higher is quicker. |
DAMPING | script.js | 17 | Lower lets the poster pass the mark and come back. |
SPEED | script.js | 1 | 2 = the walk on its own twice as fast, 0.5 = half. |
LOOP | script.js | true | Repeats the walk on its own. |
For the catalogue of a streaming app, a film festival, a course or podcast platform, or the covers of a book or record shop: a row of posters that invites you to stop on each one.
The same animation with adapted sizes: three posters instead of four, as wide as the box allows and sized on the height too, the details above the buttons instead of beside them; with a finger the poster comes into focus where you touch and a tap adds it to the list.
The posters do not move, grow or tilt: the one in focus fades its glare in and the others dim; the check, the details and the list button change with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 1 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.