
Speeding marquee
Scroll, Text, Hover
The awards section of a design studio: a list of prizes and, next to it, one large year. The row under the pointer opens on the project that won, a golden mark slides to it and the year rolls, digit by digit, to the year of that prize.
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>
<!--
"Studio awards 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>Studio awards with the year that rolls digit by digit and the row that opens on the project</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">
<!-- the awards of a design studio: a list of prizes and one large year; the row under the pointer opens on its
project and the year rolls, digit by digit, to the year of that prize -->
<section class="aw" data-aw aria-label="Awards">
<div class="aw__side">
<span class="aw__label">Recognition</span>
<span class="aw__year" data-year aria-hidden="true"></span>
<span class="aw__count"><b data-count></b> prizes since 2021</span>
</div>
<div class="aw__list" data-list><span class="aw__mark" data-mark aria-hidden="true"></span></div>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
</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.
13 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 “Studio awards list” from Animorio and fit it into my siteFour boxes with hidden overflow, one per digit. When the year changes, for each different digit a new span is born below (or above) and the old one leaves: power3.inOut for the one leaving, back.out(1.5) for the one arriving, with 0.05 seconds more delay for the rightmost digit.
The detail is 0 high and reaches its content’s height (measured) with back.out(1.3); the one closing uses power3.inOut. Only one row open at a time, aria-expanded kept up to date.
A two-pixel element absolutely positioned: its y is the row’s index times the height of a closed row, because above the chosen row they are always all closed.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #e8c26a | The colour of the year and the mark. |
ROLL | script.js | 0.5 | How many seconds a digit takes to roll. |
OPEN | script.js | 0.45 | How many seconds the row takes to open. |
PAUSE | script.js | 1.7 | Alone: how many seconds it stays on each prize. |
LOOP | script.js | true | Left alone, a pointer goes over the prizes. |
On the “about” page of a studio or an agency, in a designer’s or photographer’s portfolio, in any list where each entry has a date that deserves to be big (exhibitions, publications, career milestones).
The same card; below 360 pixels the year’s column narrows to 92, the year drops to 38 pixels and the jury’s name hides (it stays in the open detail). You tap the row.
The rows open and close at once, the mark is already in place and the year’s digits change without rolling.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 4.6 KB; the libraries: GSAP 28 KB.
Tested on 16 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.