
The liquid grid
Hover, Transitions
The blend modes of a design app, in a card on warm white, minimal style: an orange circle and a blue square overlapping, and six modes to choose from. At every change the square pulls away, takes the new mode and comes back on a spring, and where the two shapes cross the colour truly changes. At the top the colour of the crossing, worked out and written in hex; below, a line saying in words what that mode does. Pointing at a mode tries it on without choosing it.
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>
<!--
"Blend modes" 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>Blend modes</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 blend modes of a design app: two flat shapes overlapping, six modes to choose, the top shape pulling
away and coming back at every change, and the colour where they cross worked out and written -->
<section class="bm" data-bm aria-label="Blend modes">
<header class="bm__head">
<strong>Blend mode</strong>
<span class="bm__result"><i class="bm__chip" data-outchip aria-hidden="true"></i><span data-outhex>#3B6CFF</span></span>
</header>
<div class="bm__view" aria-hidden="true">
<i class="bm__floor"></i>
<div class="bm__pair">
<div class="bm__under" data-under><i></i></div>
<div class="bm__over" data-over><i data-ink></i></div>
</div>
</div>
<div class="bm__modes" role="radiogroup" aria-label="Blend mode" data-modes>
<i class="bm__thumb" data-thumb aria-hidden="true"></i>
<button type="button" role="radio" aria-checked="true" data-mode="normal">Normal</button>
<button type="button" role="radio" aria-checked="false" data-mode="multiply">Multiply</button>
<button type="button" role="radio" aria-checked="false" data-mode="screen">Screen</button>
<button type="button" role="radio" aria-checked="false" data-mode="overlay">Overlay</button>
<button type="button" role="radio" aria-checked="false" data-mode="darken">Darken</button>
<button type="button" role="radio" aria-checked="false" data-mode="difference">Difference</button>
</div>
<p class="bm__note"><span class="bm__clip"><span data-outnote>The top shape simply covers the one below.</span></span></p>
</section>
<span class="live" aria-live="polite" data-live></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></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.
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 “Blend modes” from Animorio and fit it into my siteThe two shapes sit in a container with isolation: isolate: the top shape blends only with the one below, not with the floor or the card.
The square pulls away, and the new mode is given to it while it is not touching the circle: the colour never snaps in view.
Every mode has its formula for one channel: the script applies it to the two colours and writes the result, the same one the browser draws.
Pointing at a mode applies it without moving anything and without changing the choice; on leaving, the chosen one comes back.
| Name | File | Default | What it changes |
|---|---|---|---|
UNDER | script.js | #ff6a3d | The colour of the shape below, the circle. |
OVER | script.js | #3b6cff | The colour of the shape on top, the square. |
APART | script.js | 30 | How many pixels the top shape pulls away at every change. |
SPRING | script.js | 1 | How much the shape bounces on coming back. |
LOOP | script.js | true | Left alone, the demo’s pointer tries the modes one after the other. |
In the layers panel of a design app or an image editor, and on the page of a course or documentation explaining blend modes. The two shapes pulling apart and coming back together also carry a comparison between two filters or two colour themes.
The card is at most 348 pixels wide and about 320 tall; the floor gets shorter on short screens and the shapes keep their size. The six choices sit on two rows of three, 32 pixels tall; with a finger a tap chooses, and there is no try-on by pointing.
No shapes pulling apart and no bounces: the mode changes in place, the thumb and the texts change in one step. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.8 KB; the libraries: GSAP 28 KB.
Tested on 1 December 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.