
Film slider
Transitions, Images, Hover
The four steps of Sennet, a made-up skin clinic, in a row under one single line: a bar fills it at a steady pace, five seconds per step, and the step under the filled part lights up while the others wait at 10%. Hover a step and the bar slides to the start of its stretch; on a phone the steps sit on top of each other and a tap moves to the next. Minimal style. From the «Why Odyssée?» carousel of the Odyssée clinic site, Awwwards Site of the Day on 8/10/2026.
Rebuilt from scratch studying odysseeclinic.com.au by Nightjar: 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>
<!--
"Timed line carousel" 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>Sennet Clinic, slow care in four steps</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz.css">
<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>
<!-- Sennet, a made-up skin clinic. Four steps of care in a row, one timed line over them: a single bar fills at a
steady pace, five seconds per step, and the step under the filled part is the one that is lit; the others wait
at 10%. Hover a step and the bar jumps to the start of its stretch. On a phone the steps sit on top of each
other and a tap moves to the next one. The small round button pauses the line. -->
<main class="page">
<section class="why" data-why aria-roledescription="carousel" aria-label="Why Sennet, four steps of care">
<h1 class="title" data-title>Slow care, in four steps.</h1>
<div class="head">
<p class="label" data-in>Why Sennet?</p>
<p class="now" aria-live="polite"><span class="now__mask" data-now><span class="now__word">Consult</span></span></p>
<button class="pause" type="button" data-pause aria-pressed="false" aria-label="Pause the steps">
<svg viewBox="0 0 20 20" aria-hidden="true">
<path class="pause__a" d="M7 5.5 V14.5" />
<path class="pause__b" d="M13 5.5 V14.5" />
<path class="pause__play" d="M7.5 5.2 L15 10 L7.5 14.8 Z" />
</svg>
</button>
</div>
<div class="line" data-line aria-hidden="true">
<span class="line__track" data-track></span>
<span class="line__bar" data-bar></span>
<span class="line__tick" data-tick style="--at: 25%"></span>
<span class="line__tick" data-tick style="--at: 50%"></span>
<span class="line__tick" data-tick style="--at: 75%"></span>
</div>
<div class="steps" data-steps>
<article class="step is-active" data-step tabindex="0" aria-label="Consult">
<figure class="step__photo"><img src="visita.webp" alt="A doctor in a white coat taking notes at a desk during a consultation" width="960" height="640" style="--fx: 60%"></figure>
<h2 class="step__name">Consult</h2>
<p class="step__copy" data-copy>A first visit of forty five minutes. We look, we listen, and nothing is booked on the day.</p>
</article>
<article class="step" data-step tabindex="0" aria-label="Plan">
<figure class="step__photo"><img src="flaconi.webp" alt="Three amber dropper bottles with blank labels on white" width="1024" height="683" style="--fx: 50%"></figure>
<h2 class="step__name">Plan</h2>
<p class="step__copy" data-copy>A written plan with doses, dates and costs, to take home and think over.</p>
</article>
<article class="step" data-step tabindex="0" aria-label="Treat">
<figure class="step__photo"><img src="crema.webp" alt="A woman with her eyes closed holding a small jar of cream" width="960" height="640" style="--fx: 38%"></figure>
<h2 class="step__name">Treat</h2>
<p class="step__copy" data-copy>The same doctor every time, in a calm room, without hurry.</p>
</article>
<article class="step" data-step tabindex="0" aria-label="Aftercare">
<figure class="step__photo"><img src="asciugamani.webp" alt="Rolled bath towels in soft grey and mauve" width="1024" height="682" style="--fx: 50%"></figure>
<h2 class="step__name">Aftercare</h2>
<p class="step__copy" data-copy>A check at two weeks, then every season. The plan changes only if your skin asks.</p>
</article>
</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.
22 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 “Timed line carousel” from Animorio and fit it into my siteAs on the site, there is no bar per step: one tween takes the bar from scaleX 0 to 1, linear, in STEP times the number of steps (5 s by 4 = 20 s), with repeat -1. The bar has its transform-origin on the left and sits over a track at 20% opacity.
In onUpdate the index is Math.min(Math.floor(progress × n), n − 1): when it changes, a class lights the step and CSS does the rest, opacity from .1 to 1 in 300 ms on cubic-bezier(.16,1,.3,1), and the copy that shows only for it.
On the site a hover runs tween.progress(i / n) and the bar jumps. Here the line pauses and GSAP takes progress to i / n in .5 s with expo.out, then plays on; while it slides onUpdate does not change step, so the ones in between do not flicker. With JUMP at 0 it jumps like the site.
Three 7 px ticks sit on the borders of the stretches: the ones already passed turn night blue and the last one does scaleY 1.9 → 1 with back.out. In the header, instead of the «1:4» counter, the step name comes in from yPercent 105 inside a mask while the old one leaves upwards.
The copy is split into words that rise 10 px in 1 s expo.out, .04 s apart (the site's entrance numbers); the lit photo settles from scale 1.06 to 1 over the five seconds of its stretch, with a soft shadow under it and a light grain on top.
Under 760 px the steps share the same grid cell and a tap goes to the next one with (i + 1) % n (the site has m + 1 % g, which works by chance). The arrow keys move the focus and the focus lights the step; the round button stops and restarts the line, which the site does not have.
| Name | File | Default | What it changes |
|---|---|---|---|
STEP | script.js | 5 | Seconds the bar spends on each step (the site uses 5). |
OFF | script.js | 0.1 | Opacity of the steps that wait, from 0 to 1 (the site uses .1). |
FADE | script.js | 0.3 | Seconds a step takes to light up or dim (the site uses .3). |
JUMP | script.js | 0.5 | Seconds the bar slides to a hovered step; 0 jumps at once like the site. |
SETTLE | script.js | 1.06 | Scale the lit photo starts from before it settles to 1. |
WORDS | script.js | 0.04 | Seconds between the words of the copy (the site uses .04). |
To explain a method, a process or the steps of a service (a clinic, a studio, an app, an agency) without sliding them away: you see them all together and time lights them one at a time.
On a phone the steps sit on top of each other and only one shows, its photo measured on the height too; a tap moves to the next and the bar slides to its stretch. The pause button stays next to the step name.
No movement: the title and the steps fade in, the step name changes with a fade, the photo stays still and the bar jumps at once to the chosen step. The line keeps filling, since it tells how long is left, and the pause stops it.
GSAP 3.15.0, Newsreader (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.7 KB; the libraries: GSAP 28 KB.
Tested on 24 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.