
Long shadow letters
Text, Scroll, 3D
Scroll inside the preview
The footer of Pantile, a made-up branding studio, with its name along the bottom so big it fills the width: before it arrives the name waits squashed flat against the floor, then the scroll pulls it up like rubber, faster scrolling pulls it further, and near the end it lets go and settles on an elastic. The letters of the links jump one by one under the pointer. Rebuilt from scratch from the footer of Two26 Studio.
Rebuilt from scratch studying two26.studio by ZzStudio: 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>
<!--
"Stretchy footer" 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>Pantile, the stretchy footer</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/big-shoulders-display@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the last screen of the site of Pantile, a made-up branding studio, and then its footer. At the bottom of the
footer the studio's name, set so big it fills the width, waits squashed flat against the floor. The scroll pulls
it up like rubber, faster scrolling pulls it further, and near the end it lets go and settles on an elastic -->
<section class="ultima" data-ultima>
<p class="ultima__marca" data-entra>
<svg viewBox="0 0 28 16" aria-hidden="true"><path d="M1.5 14.5c0-6 3.6-11 8.2-11s8.1 5 8.1 11" /><path d="M10.1 14.5c0-6 3.6-11 8.2-11s8.2 5 8.2 11" /></svg>
Pantile
</p>
<h2 class="ultima__titolo" data-entra>Still scrolling?<br>Let’s give your brand a roof to stand on.</h2>
<a class="pillola" href="#" data-pillola data-entra>
<span class="pillola__fondo" aria-hidden="true" data-pillola-fondo></span>
<span class="pillola__testo">Start a project</span>
</a>
<p class="ultima__nota" data-entra>Identity, packaging and websites for people who make things.</p>
</section>
<footer class="ft" data-ft>
<div class="ft__alto">
<div class="ft__scrivi">
<p class="ft__etichetta">New business</p>
<a class="ft__mail" href="mailto:hello@pantile.studio" data-salta>hello@pantile.studio</a>
</div>
<nav class="ft__colonne" aria-label="Footer">
<ul class="ft__lista">
<li><a href="#" data-salta>Work</a></li>
<li><a href="#" data-salta>Studio</a></li>
<li><a href="#" data-salta>Journal</a></li>
<li><a href="#" data-salta>Contact</a></li>
</ul>
<ul class="ft__lista">
<li><a href="#" data-salta>Instagram</a></li>
<li><a href="#" data-salta>Behance</a></li>
<li><a href="#" data-salta>LinkedIn</a></li>
</ul>
</nav>
<button class="su" type="button" data-su>
<span class="su__fondo" aria-hidden="true" data-su-fondo></span>
<span class="su__testo">Back to top</span>
<span class="su__tondo" aria-hidden="true" data-su-tondo>
<svg viewBox="0 0 16 16" data-su-freccia><path d="M8 13V3.4M3.6 7.6 8 3.2l4.4 4.4" /></svg>
</span>
</button>
</div>
<!-- the name: the stretch is a scaleY from the bottom centre; the cap line and the reading ride on top of it -->
<div class="ft__nome" data-nome>
<i class="ft__ombra" aria-hidden="true" data-ombra></i>
<div class="ft__gomma" data-gomma>
<span class="ft__parola" data-parola>PANTILE</span>
<span class="ft__righe" aria-hidden="true" data-righe>PANTILE</span>
</div>
<i class="ft__cap" aria-hidden="true" data-cap><span data-lettura>× 0.15</span></i>
<i class="ft__base" aria-hidden="true"></i>
</div>
<div class="ft__piede">
<p>© 2026 Pantile Studio</p>
<p class="ft__piede-centro">Made by hand, mostly.</p>
<p><a href="#" data-salta>Privacy</a></p>
</div>
</footer>
<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/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.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.
44 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 “Stretchy footer” from Animorio and fit it into my siteA canvas measures PANTILE at 100 pixels: the ink (actualBoundingBoxLeft plus Right), the cap height and the font’s ascent and descent. The size is the smaller of the one that fills the width and the one that lets the name be pulled to 1.4 without leaving the footer. The holder is as tall as the capitals and the word is moved up just enough for the baseline to sit exactly on its bottom edge: so the scaleY from the bottom centre grows from the floor.
A ScrollTrigger on the footer, from top bottom to bottom bottom. At every step, on the way down the goal is 0.15 + progress × 1.15 + the smaller of speed / 1500 and 0.25; on the way up 0.15 + progress × 0.95; never above 1.4. It gets there with a 0.1 second power1.out tween that replaces the one before (overwrite).
At 90% of the footer the name breaks free: a tween to 1 in 1.4 seconds with elastic.out(1.2, 0.35), and from then on the scroll no longer pulls it. Leaving the footer upwards (onLeaveBack) it goes back to 0.15 in 0.25 seconds and is armed again.
Above 1 the rubber narrows by 0.05 for every extra height, the stretch marks (the same name on top, with a striped gradient clipped to the letters) light up, the floor shadow tightens and fades; below 1 the shadow widens and darkens. The cap line rises by height × scaleY and the reading is written with two decimals.
Every link is split into one span per letter, with the whole name in aria-label. On hover, or with the Tab key, each letter goes to scale 1.14 with a random tilt between −7 and 7 degrees and a 0.4 pixel outline in text-shadow, in 0.38 seconds with back.out(1.8), 0.035 seconds apart, then comes back in 0.5 seconds with power2.out.
| Name | File | Default | What it changes |
|---|---|---|---|
NAME | script.js | 'PANTILE' | The studio’s name, the giant word at the bottom of the footer: one word. |
SQUASH | script.js | 0.15 | How flat the name waits before the footer arrives, as a share of its height (the site uses 0.15). |
PULL | script.js | 1.15 | How much the scroll pulls it up on the way down, over the whole footer (the site uses 1.15). |
PULL_BACK | script.js | 0.95 | The same pull on the way back up (the site uses 0.95). |
SPEED | script.js | 1500 | The scroll speed, in pixels a second, that adds one whole height (the site divides by 1500). |
SPEED_MAX | script.js | 0.25 | The most the speed can add on top of the pull (the site uses 0.25). |
MAX_STRETCH | script.js | 1.4 | The tallest the name can be pulled (the site uses 1.4). |
LET_GO | script.js | 0.9 | How far into the footer it lets go and settles (the site uses 0.9). |
SETTLE | script.js | 1.4 | The seconds of the elastic settle (the site uses 1.4). |
BOUNCE | script.js | 1.2 | The amplitude of the elastic: higher swings further (the site uses 1.2). |
WOBBLE | script.js | 0.35 | The period of the elastic: lower wobbles faster (the site uses 0.35). |
NARROW | script.js | 0.05 | How much narrower the rubber gets while it is pulled past its rest, like a band. |
JUMP | script.js | 1.14 | How big the letters of a link jump under the pointer (the site uses 1.14). |
TILT | script.js | 7 | The most a jumping letter tilts, in degrees, one way or the other (the site uses 7). |
STAGGER | script.js | 0.035 | The seconds between one letter of a link and the next (the site uses 0.035). |
For the footer of a studio’s, an agency’s or a brand’s site that wants to close with a smile: the name that stretches rewards whoever scrolls all the way down, and the jumping links invite one more click.
On a phone the name is sized on the height too, the address gets a row of its own above the links, Back to top keeps only the circle with the arrow and the line in the middle of the copyright row goes; on a short screen one column of links stays. Scrolling with a finger pulls the rubber with the same numbers; the links jump on a tap.
The name is already settled at its height and does not stretch, the scroll is not smoothed, the links only change colour, the buttons do not swell and the last screen fades in.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Big Shoulders Display (font variabile) 5.3.0, Geist (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.0 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 28 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.