
Speeding marquee
Scroll, Text, Hover
The work list of Foxglove Pictures, a made-up production company, in two columns, commercials and long format: under the title beneath the pointer a white gradient grows from the side you come in and leaves toward the side you go out, the title and the running time follow the pointer at two speeds, in opposite directions. A click plays the title: a white bar in difference wears down across it and next to it a small frame opens with the still. From the hover of the project titles on the PSP Production site, Awwwards Site of the Day on 18/11/2026.
Rebuilt from scratch studying productionportugal.com by Lynksen, Ross Burylo: 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>
<!--
"Magnetic work list" 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>Foxglove Pictures, recent work</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/inter-tight@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/wght-italic.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the work list of Foxglove Pictures, a made-up film and commercials production company: two columns of titles.
A soft white gradient grows across a title from the side the pointer comes in and leaves toward the side it goes
out; the year or the running time and the title drift with the pointer at two speeds, the title opens up a
little and the other titles step back. A click (or Enter) plays a title: a white bar in difference wears down
across it, a small frame with a still opens next to it, and when the bar is spent the next title plays -->
<main class="stage" data-stage>
<div class="glow" aria-hidden="true"><span class="glow__a"></span><span class="glow__b"></span></div>
<header class="top" data-top>
<p class="brand">Foxglove <em>Pictures</em></p>
<nav class="nav" aria-label="Main">
<a class="nav__link is-current" href="#" aria-current="page" data-brackets><span class="br">[</span><span class="nav__label">Work</span><span class="br">]</span></a>
<a class="nav__link nav__link--wide" href="#" data-brackets><span class="br">[</span><span class="nav__label">Directors</span><span class="br">]</span></a>
<a class="nav__link nav__link--wide" href="#" data-brackets><span class="br">[</span><span class="nav__label">Contact</span><span class="br">]</span></a>
</nav>
</header>
<div class="work" data-work>
<section class="col" data-col>
<h2 class="col__label"><span class="col__chip" data-chip>Commercials</span></h2>
<ul class="list" role="list">
<li><button class="row" type="button" data-row data-director="Ines Moura" data-still="0"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:45</span><span class="row__title" data-title><span class="row__t">Paper Moon Run</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Tomas Reyes" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:30</span><span class="row__title" data-title><span class="row__t">Velvet Gear</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Mara Lind" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>1:00</span><span class="row__title" data-title><span class="row__t">Low Tide Motors</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Jun Okafor" data-still="3"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:20</span><span class="row__title" data-title><span class="row__t">Static Bloom</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Elsa Varga" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:45</span><span class="row__title" data-title><span class="row__t">Glass Orchard</span></span></span></button></li>
</ul>
</section>
<section class="col" data-col>
<h2 class="col__label"><span class="col__chip" data-chip>Long format</span></h2>
<ul class="list" role="list">
<li><button class="row" type="button" data-row data-director="Rui Andrade" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Series</span><span class="row__title" data-title><span class="row__t">Salt and Signal</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Noor Haddad" data-still="0"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Film</span><span class="row__title" data-title><span class="row__t">The Quiet Coast</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Lea Brandt" data-still="3"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Doc</span><span class="row__title" data-title><span class="row__t">Eleven Summers</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Tomas Reyes" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Series</span><span class="row__title" data-title><span class="row__t">Night Ferry</span></span></span></button></li>
<li><button class="row" type="button" data-row data-director="Ines Moura" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>2026</span><span class="row__title" data-title><span class="row__t">Copper Field</span></span></span></button></li>
</ul>
</section>
</div>
<!-- the small frame that opens next to the title that plays -->
<figure class="peek" data-peek aria-live="polite">
<div class="peek__frame" data-frame>
<img class="peek__img" src="notte.webp" alt="" draggable="false" data-img>
<img class="peek__img peek__img--next" src="notte.webp" alt="" draggable="false" data-img-next>
<span class="peek__sheen" aria-hidden="true"></span>
<span class="peek__corners" aria-hidden="true"><i></i><i></i><i></i><i></i></span>
</div>
<figcaption class="peek__cap">
<span class="peek__swap"><span class="peek__dir" data-dir>Dir. Ines Moura</span></span>
<span class="peek__tc" data-tc>00:00:00</span>
</figcaption>
</figure>
<p class="hint" data-hint>Hover a title, click to play it</p>
<span class="grain" aria-hidden="true"></span>
</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/CustomEase.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.
55 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 “Magnetic work list” from Animorio and fit it into my siteThe site stretches the gradient with scaleX from the side the mouse comes in (--psp-hover-origin left or right) and pulls it back on the same side. Here the gradient has two edges, left and right, from 0 to 1: coming in from the left the right edge grows, coming in from the right the left edge drops, and going out it leaves toward the side the pointer goes. GSAP animates them with the site's curve (0.16, 1, 0.3, 1) in 0.7 s and draws them with xPercent and scaleX, never changing the origin: no jumps if the pointer comes back halfway.
Inside the row the pointer gives two numbers, up to min(width times 0.12, 18) pixels sideways and min(height times 0.35, 9) up and down, as on the site. The running time moves by -0.28 and -0.16 times (the other way), the title by 0.62 and 0.22 times, with gsap.quickTo in 0.65 s: the two parts part a little and you feel depth.
The pointer is followed with a single pointermove on the document: it checks which row it is in and, if that changes, the old one leaves toward the side the pointer leaves it and the new one comes in from its own. So moving from the running time to the title of the same row lights nothing again.
The title that plays has a white rectangle over it in mix-blend-mode difference, inside a row with isolation: isolate: where it passes, the white text turns black. First it stretches from the left in 0.45 s, then its origin moves to the right and it wears down in SHOW seconds; when it is spent, the next title plays, in the other column too.
The frame sits right of the column, centred on the row, and slides there with the same curve leaning 1.4 degrees the way it goes, then straightens with back.out. The new still opens from the middle (clip-path from inset(50% 50%) to inset(0%)) in 0.9 s with the site's aperture curve (0.65, 0, 0.35, 1) while it zooms back, and the director's name goes up by 12 pixels and comes back from below.
| Name | File | Default | What it changes |
|---|---|---|---|
SHOW | script.js | 5.5 | Seconds a title plays before the next one starts (the bar that wears down). |
SWEEP | script.js | 0.7 | Seconds of the gradient growing or leaving (the site uses 0.7 s). |
MAGNET_X | script.js | 18 | Most pixels the titles drift sideways (the site uses 18). |
MAGNET_Y | script.js | 9 | Most pixels up and down (the site uses 9). |
TITLE_PULL | script.js | 0.62 | How much the title follows the pointer (the site uses 0.62). |
META_PULL | script.js | 0.28 | How much the running time goes the other way (the site uses 0.28). |
DIM | script.js | 0.52 | Opacity of the other titles while one is under the pointer (the site uses 0.52). |
APERTURE | script.js | 0.9 | Seconds of the still opening from the middle (the site uses 0.9 s for its videos). |
OPEN_SCALE | script.js | 1.35 | How zoomed in the still is when it starts opening (the site starts from 2). |
For the work page of a production company, an editing studio, a director or a photographer, for the project list of a portfolio or an agency, for the line-up of a festival or an event: wherever there is a list of titles to browse and a preview to show without opening anything.
The two columns stack and the frame keeps its lane on the right; titles and frame are sized on the height too, so everything fits the box. A tap does the same gesture: the gradient comes in from the side of the finger, the title moves with the finger, then the gradient leaves by itself after a moment toward the same side, and the tap plays the title.
No movement: the rows fade in, the gradient fades in and out, the magnet and the clouds stay still, the frame sits next to the row without sliding and the new still fades in. The bar that wears down stays, because it tells how much is left.
GSAP 3.15.0, CustomEase 3.15.0, Inter Tight (font variabile) 5.3.0, Newsreader (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10.0 KB; the libraries: GSAP + CustomEase 31 KB.
Tested on 18 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.