
The liquid grid
Hover, Transitions
The testimonials of Pantile, a made-up branding studio, as a deck of tilted cards on warm paper: a click on the top half throws the top card up and tucks it under the deck while the next one straightens, a click on the bottom half brings the last card back up from below. A coral arrow follows the pointer and turns to say which way, the side ticks stretch for the card on top and the client name rolls under the deck. Inspired by the Two26 Studio site.
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 tab holds the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Tilted testimonial deck" 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, kind words</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/instrument-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- The testimonials of Pantile, a made-up branding studio, as a deck of tilted cards. Click the top half of the
deck for the next card, the bottom half to go back; the arrow that follows the pointer says which. -->
<main class="scena">
<header class="testa">
<p class="testa__marca">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 6.2 10 3l7 3.2v1.6L10 4.8 3 7.8Z" fill="currentColor"/><path d="M4.6 9.4h10.8M4.6 12.6h10.8M4.6 15.8h10.8" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
Pantile
</p>
<h1 class="testa__titolo">Kind words from <em>the people we built for</em></h1>
</header>
<section class="banco" aria-roledescription="carousel" aria-label="Client testimonials">
<nav class="tacche" aria-hidden="true" data-tacche></nav>
<div class="mazzo" data-mazzo tabindex="0" aria-live="polite">
<span class="mazzo__meta mazzo__meta--su" aria-hidden="true"></span>
<span class="mazzo__meta mazzo__meta--giu" aria-hidden="true"></span>
</div>
</section>
<footer class="piede">
<div class="piede__chi" aria-hidden="true">
<span class="piede__finestra"><span class="piede__nomi" data-nomi></span></span>
<span class="piede__lavoro"><span class="piede__lavori" data-lavori></span></span>
</div>
<p class="piede__aiuto">
<span><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M6 9.5V2.5M3 5.2 6 2.3l3 2.9" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>Top half, next</span>
<span><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M6 2.5v7M3 6.8l3 2.9 3-2.9" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>Bottom half, back</span>
</p>
</footer>
<div class="freccia" data-freccia aria-hidden="true">
<span class="freccia__tondo" data-tondo>
<svg class="freccia__segno" data-segno viewBox="0 0 24 24"><path d="M12 18.5V5.8M6.6 11 12 5.6l5.4 5.4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
</div>
</main>
<template data-carta>
<article class="carta">
<span class="carta__ombra" aria-hidden="true"></span>
<div class="carta__faccia">
<svg class="carta__virgolette" viewBox="0 0 40 30" aria-hidden="true"><path d="M2 29V17.5C2 8.6 6.4 3 14.6 1l1.6 3.6C11.4 6.2 9.3 9.3 9.2 13.6h6.6V29Zm22 0V17.5C24 8.6 28.4 3 36.6 1l1.6 3.6c-4.8 1.6-6.9 4.7-7 9h6.6V29Z" fill="currentColor"/></svg>
<blockquote class="carta__frase" data-frase></blockquote>
<div class="carta__firma">
<span class="carta__sigla" data-sigla><span data-sigla-testo></span></span>
<span class="carta__chi"><strong data-nome></strong><span data-ruolo></span></span>
<span class="carta__logo" data-logo></span>
</div>
<span class="carta__riflesso" aria-hidden="true"></span>
</div>
</article>
</template>
<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.
18 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 “Tilted testimonial deck” from Animorio and fit it into my siteEach card has its own angle from a palette of eight (−7.5, 6.8, −5.5, 8.2, −8.5, 6.2, −7, 7.8 degrees); the top one goes to zero and each one below is DEPTH_SCALE smaller.
Next: the top card rises to yPercent −FLY_HEIGHT turning FLY_TILT degrees more, right and left on alternate throws, in FLY_TIME with power2.inOut; halfway its z-index changes and it comes back down under the deck with power2.out.
The last card goes to the top of the z-index, starts at yPercent 120 with 8 degrees and rises to zero; the old top card goes back to its tilt.
Two quickTo calls of FOLLOW_TIME bring it after the pointer; it comes in with back.out(2), and the mark inside turns 180 degrees around its own centre when moving from one half to the other.
A ticker reads the rotation and lift of each card and moves its blurred shadow and its sheen: the more it tilts or flies, the further the shadow goes and the more the sheen shows.
| Name | File | Default | What it changes |
|---|---|---|---|
FLY_TIME | script.js | 0.38 | Seconds of each half of the throw: up, then under the deck. |
FLY_HEIGHT | script.js | 140 | How high the card is thrown, in percent of its height. |
FLY_TILT | script.js | 9 | Extra degrees the card turns while it flies. |
STRAIGHTEN_TIME | script.js | 0.35 | Seconds the next card takes to straighten. |
DEPTH_SCALE | script.js | 0.012 | How much smaller each card is than the one above. |
FOLLOW_TIME | script.js | 0.15 | Seconds the arrow takes to catch the pointer. |
AUTOPLAY_PAUSE | script.js | 2.4 | Seconds between cards when the deck goes on its own. |
For the testimonials section of a studio, an agency, a freelancer or a product: a few real quotes to leaf through one at a time, with more character than a carousel.
On a phone the deck is sized on the height too, the hints below go and the arrow stays only in the tour: tap the top or bottom half, or drag up or down by more than 30 pixels.
No throws and no animated turns: the cards take their place at once, the new top card fades in and there is no arrow.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Instrument Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.9 KB; the libraries: GSAP 28 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.