
Speeding marquee
Scroll, Text, Hover
The dictionary of an invented fashion house: five new words, each one a card with its light colour, its dark border and a hard stamped shadow that flattens as you pass over it. The card rises from the edge, the transcription writes itself, the round button springs in and, when pressed, the plus becomes a minus and the entry unfolds with its etymology and its two meanings. A minimal style, as an accordion.
Rebuilt from scratch studying thejacketcirclegame.maxmara.com by Adoratorio Studio: 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>
<!--
"Fashion dictionary" 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 fashion dictionary entries that rise and unfold like an accordion</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/libre-baskerville@5.3.0/400.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/libre-baskerville@5.3.0/400-italic.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the dictionary of Ardelle, an invented coat house: five words of its own, each with its colours -->
<main class="pagina" data-stage>
<div class="colonna">
<span class="cornice" data-inquadra aria-hidden="true"></span>
<header class="testata">
<p class="marchio">ARDELLE</p>
<p class="sottotitolo">The Ardelle Dictionary</p>
</header>
<nav class="linguette" data-tabs aria-label="Choose a word"></nav>
<div class="maschera">
<article class="voce" data-entry aria-live="polite"></article>
</div>
</div>
<svg class="puntatore" data-cursor viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.5l13.5 7.4-6 1.6-2.4 5.9z" /></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.
14 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 “Fashion dictionary” from Animorio and fit it into my siteThe card sits inside a mask with hidden overflow and starts at yPercent 110: it rises to 0 in 1.25 seconds with power3.out, like the dictionary entry on the site. At the end it goes up a pixel and back down in 0.4 seconds: the settle that makes it look laid down. The mask has a margin on the right and at the bottom so the stamped shadow is not cut.
It is not a box-shadow but a filter: drop-shadow(4px 4px 0 …), a solid shadow with no blur that also follows the double border. On hover it becomes drop-shadow(0 0 0 transparent) in 0.5 seconds with cubic-bezier(.215,.61,.355,1); the hover lives inside @media (hover: hover), and the drawn pointer uses a class with the same effect.
The button comes in from scale 0 with elastic.out(1, 1). The sign is an SVG of two strokes: when pressed, the vertical one goes to scaleY 0 in 0.75 seconds and the minus is left. The body of the entry goes from height 0 to auto in one second with power2.out, the same curve as the CSS cubic-bezier(.215,.61,.355,1); the lines inside rise ten pixels one after the other.
Each character of the transcription is a span that starts with display none: a zero-length tween with a stagger switches them on one every 35 milliseconds, so the thin caret that follows moves along the line by itself. The roots of the etymology are marked with a background-size going from 0 to 100% on the --segno variable.
Every word has its pair of colours, light and dark; the page background is the light one mixed with 7% of the dark, worked out in the script. The card drops to yPercent 110 in half a second, is rewritten with the new word, the page changes tint in 0.8 seconds and the new card rises.
| Name | File | Default | What it changes |
|---|---|---|---|
RISE | script.js | 1.25 | How many seconds the card takes to rise from the edge. |
LEAVE | script.js | 0.5 | How many seconds the card takes to drop away when you change word. |
OPEN | script.js | 1 | How many seconds the entry takes to unfold or fold. |
SIGN | script.js | 0.75 | How many seconds the plus takes to become a minus. |
TYPE | script.js | 0.035 | Seconds per letter of the transcription that writes itself. |
SHADOW | script.js | 4 | How many pixels the stamped shadow is offset. |
TINT | script.js | 0.8 | How many seconds the page takes to change tint. |
HOLD | script.js | 2.6 | How many seconds the drawn pointer leaves an entry open. |
IDLE | script.js | 8 | After how many quiet seconds the drawn pointer starts again. |
For the site of a fashion house, a clothing brand or a magazine that wants to tell a collection through words: a glossary, a brand lexicon, the entries of a guide, frequently asked questions with more character. It also works as an accordion for any text that opens on request.
The same animation: card, squares and type are sized on both the width and the height of the box, the open entry stays fully on screen and the button and the squares are pressed with a finger, with the shadow flattening.
Nothing rises and nothing bounces: the cards fade in with the transcription already written, the entry opens already in place and its lines fade in, the page changes tint at once.
GSAP 3.15.0, Libre Baskerville 5.3.0, Inter (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.4 KB; the libraries: GSAP 28 KB.
Tested on 28 October 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.