
The inchworm menu
Menus, Hover, Transitions
The live table of an invented football league, six teams in a dark glass card over a pitch green light, like a Dribbble shot. While the last round is played a goal arrives: a message slides into the row of the team, points and goal difference roll up like an odometer, and when a team passes the one above the two rows swap places with a FLIP on a spring. The row that climbs is lifted, takes the accent light for an instant and the drawn arrows light up, up for one and down for the other. Live is not a dot: it is the word LIVE with the minute and a bar that runs to the final whistle.
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>
<!--
"Live league standings" 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 live league standings table with the teams that swap places</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>
<!-- a soft pitch green light behind the glass and a cold one from the other side -->
<span class="aura aura--a" data-aura-a aria-hidden="true"></span>
<span class="aura aura--b" data-aura-b aria-hidden="true"></span>
<div class="wrap" data-wrap>
<article class="board" data-card aria-label="Live league standings">
<span class="board__pitch" aria-hidden="true"></span>
<span class="board__light" aria-hidden="true"></span>
<span class="board__rim" aria-hidden="true"></span>
<div class="board__body" data-body>
<header class="head">
<span class="head__title">
<span class="head__league">Meridian League</span>
<span class="head__day">Matchday 27 · 3 matches in play</span>
</span>
<span class="state" data-state>
<span class="state__word" data-state-word>Live</span>
<span class="state__min" data-minute>67'</span>
</span>
</header>
<div class="clock" aria-hidden="true">
<span class="clock__track"></span>
<span class="clock__fill" data-clock></span>
<span class="clock__half"></span>
</div>
<div class="cols" aria-hidden="true">
<span class="cols__pos"></span>
<span class="cols__team">Team</span>
<span class="cols__n cols__p">P</span>
<span class="cols__n">GD</span>
<span class="cols__n cols__pts">Pts</span>
<span class="cols__mv"></span>
</div>
<div class="table">
<ol class="ranks" aria-hidden="true">
<li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li>
</ol>
<ol class="rows" data-rows aria-label="Standings"></ol>
</div>
<footer class="fixtures" data-fixtures aria-label="Matches in play"></footer>
</div>
</article>
</div>
<p class="sr" aria-live="polite" data-announce></p>
</main>
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
<symbol id="ball" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.3" fill="none" stroke="currentColor" stroke-width="1.3"/><path d="M8 5.2l2.6 1.9-1 3.1H6.4l-1-3.1z" fill="currentColor"/><path d="M8 5.2V1.9M10.6 7.1l3-1M9.6 10.2l1.9 2.6M6.4 10.2l-1.9 2.6M5.4 7.1l-3-1" fill="none" stroke="currentColor" stroke-width="1.1"/></symbol>
</svg>
<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.
30 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 “Live league standings” from Animorio and fit it into my siteThe column of positions (1-6) is a separate list that never moves; the team rows are the items of another ordered list. So when two teams swap, the number stays in its place and only who sits next to it changes, like in a real table.
First the position of the two rows is read with getBoundingClientRect, then the row is really moved in the DOM with insertBefore (the order stays right for screen readers too), read again and the difference is the start: GSAP takes y from that jump to zero with a back.out. The climbing row gets zIndex 2, a solid fill with a shadow and a scale of 1.03 that springs back to 1; the one that drops fades to 0.18 while they cross, so the text never overlaps.
The name sits in a window one row tall over a column of two lines: the name and the goal message with the drawn ball. GSAP moves the column by yPercent -50 on a spring and brings it back after a little more than two seconds; the ball comes in turning 200 degrees. The minute in the message is read from the clock at the moment of the goal.
Each digit is a 0-9 strip in a window one digit tall: to change it the strip moves by -digit × 10 in yPercent with a back.out, starting from the rightmost digit and staggering the others by 60 ms. The minus sign of the goal difference is the real mathematical character, taken with String.fromCharCode.
A single timeline plays the round: the clock goes from START_MINUTE to 90 in 3.7 × PACE seconds redrawing minute and bar (scaleX), the three goals land at 0.5, 1.5 and 2.5 × PACE, then Full time, HOLD seconds still, the rows fade, the values go back to the start and a new timeline begins. It starts from the load event, so poster and video always land on the same moment.
| Name | File | Default | What it changes |
|---|---|---|---|
LEAGUE | script.js | Meridian League | The name of the league at the top of the card. |
PACE | script.js | 3.6 | Seconds between one goal and the next (the round lasts 3.7 times as long). |
SPRING | script.js | 1 | How springy the moves are: 0.4 calm, 2 very bouncy. |
GLOW | script.js | 1 | How strong the light of the climbing row is: 0 off, 1.6 bright. |
HOLD | script.js | 2.8 | How many seconds the table stays on Full time before the round plays again. |
START_MINUTE | script.js | 67 | The minute on the clock when the round starts. |
For the app or site of a league, a club, a sports paper or a fantasy football game: the table that changes while the matches are played, with the goals arriving and the overtakes you can see. The same card holds any live ranking: an eSports tournament, a points race, a sales leaderboard.
On the phone the card is 90% of the screen wide and the rows follow the height too, so it fits the box; under 360 pixels the matches played column hides to leave room for the name and the goal message. There is no hover: the edge light stays at the top and a tap marks the row like a click.
Nothing moves: the rows change place and reappear with a fade, the digits change in place with a fade, the goal message takes the place of the name with a fade, the arrows light up without rising and the light band does not cross the row.
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 4 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.