Skip to content
animorio
IT
Back to the library

Duotone tiles

Hover, ImagesGSAP, CSS onlyEasyCompressed weight: Demo 5.8 KBGSAP 28 KBFreeDownload the zip

Verelle, a made-up clinic of medical aesthetics, with three tall tiles, Skin, Face and Body, in a navy duotone on warm paper: the photo grey at 80% under three layers, ebony in difference, navy in screen and black at 10%. On hover the layers go in 300 ms, the photo comes back in colour, the other tiles fade to 30% and a small round mark grows beside the label. Minimal style. From the «Concerns / Treatments» tiles of the Odyssée site, Awwwards Site of the Day on 8/10/2026.

Rebuilt from scratch studying odysseeclinic.com.au by Nightjar: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

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>
<!--
  "Duotone tiles" 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>Verelle, care chosen by concern</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/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- Verelle, a made-up clinic of medical aesthetics. Three tall tiles, Skin, Face and Body, in a navy duotone: each
       photo is grey at 80% under three layers (ebony in difference, navy in screen, black at 10%). Hover a tile and the
       layers fade, the photo comes back in full colour, the other tiles fade to 30% and a small round mark grows beside
       the label. When nobody touches the page the tiles light up by themselves, one after the other. -->
  <div class="page">
    <header class="bar">
      <p class="brand" data-in>Verelle</p>
      <a class="book" href="#" data-in>Book a visit
        <svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2 10 10 2M4 2h6v6" fill="none" stroke="currentColor" stroke-width="1.1"/></svg>
      </a>
    </header>

    <h1 class="title" data-title aria-label="Care, chosen by concern.">
      <span class="title__indent" aria-hidden="true"></span><span aria-hidden="true">Care, chosen</span>
      <span aria-hidden="true">by concern.</span>
    </h1>

    <div class="tiles" data-tiles>
      <a class="tile" href="#" data-tile>
        <span class="tile__media" data-media>
          <span class="tile__move" data-move><img src="siero.webp" alt="A woman with a glass dropper of serum near her cheek" width="960" height="640" style="--fx: 46%"></span>
          <span class="tile__layer tile__layer--black" data-layer></span>
          <span class="tile__layer tile__layer--blue" data-layer></span>
          <span class="tile__layer tile__layer--ebony" data-layer></span>
          <span class="tile__grain" aria-hidden="true"></span>
          <span class="tile__sheen" data-sheen aria-hidden="true"></span>
          <span class="tile__veil" data-veil aria-hidden="true"></span>
          <span class="tile__label"><span class="tile__dot" data-dot aria-hidden="true"></span><span class="tile__word" data-word>Skin</span></span>
        </span>
        <span class="tile__foot">
          <span class="tile__kind">Serums, peels, light</span>
          <span class="tile__count"><span data-count>6 treatments</span></span>
        </span>
      </a>
      <a class="tile" href="#" data-tile>
        <span class="tile__media" data-media>
          <span class="tile__move" data-move><img src="viso.webp" alt="Two hands resting on the temples of a woman lying on a white towel, eyes closed" width="960" height="640" style="--fx: 58%"></span>
          <span class="tile__layer tile__layer--black" data-layer></span>
          <span class="tile__layer tile__layer--blue" data-layer></span>
          <span class="tile__layer tile__layer--ebony" data-layer></span>
          <span class="tile__grain" aria-hidden="true"></span>
          <span class="tile__sheen" data-sheen aria-hidden="true"></span>
          <span class="tile__veil" data-veil aria-hidden="true"></span>
          <span class="tile__label"><span class="tile__dot" data-dot aria-hidden="true"></span><span class="tile__word" data-word>Face</span></span>
        </span>
        <span class="tile__foot">
          <span class="tile__kind">Lift, contour, calm</span>
          <span class="tile__count"><span data-count>4 treatments</span></span>
        </span>
      </a>
      <a class="tile" href="#" data-tile>
        <span class="tile__media" data-media>
          <span class="tile__move" data-move><img src="pietra.webp" alt="A hand placing a smooth black stone on a bare back" width="1024" height="685" style="--fx: 52%"></span>
          <span class="tile__layer tile__layer--black" data-layer></span>
          <span class="tile__layer tile__layer--blue" data-layer></span>
          <span class="tile__layer tile__layer--ebony" data-layer></span>
          <span class="tile__grain" aria-hidden="true"></span>
          <span class="tile__sheen" data-sheen aria-hidden="true"></span>
          <span class="tile__veil" data-veil aria-hidden="true"></span>
          <span class="tile__label"><span class="tile__dot" data-dot aria-hidden="true"></span><span class="tile__word" data-word>Body</span></span>
        </span>
        <span class="tile__foot">
          <span class="tile__kind">Stone, heat, release</span>
          <span class="tile__count"><span data-count>5 treatments</span></span>
        </span>
      </a>
    </div>
  </div>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

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.

25 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

Or ask your AI assistant for it

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 “Duotone tiles” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

Three tall tiles of the Verelle clinic: Skin, with a woman and a serum dropper; Face, with hands on the temples; Body, with a hot stone laid on a back. At rest they are all in a navy duotone, with the white uppercase label in the middle and the kind of treatments underneath. Hover one and it lights up in full colour, with a thin line of light running along its edge and a soft shadow, the others fade and lose their label, a white round mark grows beside the word and the number of treatments rises below. The photo leans a little with the pointer; on click the tile is pressed and comes back with a small bounce. If nobody touches the page, the tiles light up by themselves one after the other.

How it works

The grey photo

Each photo fills its tile with object-fit: cover inside a box 110% tall, grey (filter: saturate(0)) and at 80% opacity on warm paper.

The three duotone layers

Over the photo a black veil at 10%, a navy veil in mix-blend-mode: screen and on top an ebony #29292b veil in difference: together they turn the blacks into navy and the whites into paper.

The tile that lights up

On hover GSAP takes the layers to 0, the photo to saturate(1) and full opacity and the other tiles to 30%, all in .3 s with expo.out; the labels of the others go to 0.

The mark and the number

Beside the label a white round mark grows from scale 0 to 1 in half a second and the word moves .35 em to make room; below, the number of treatments rises from under the line with a small bounce.

Light, shadow and press

A one pixel line of light runs once along the top edge, a soft shadow grows under the tile, the photo leans with the pointer through quickTo, and on click the tile goes to .985 and comes back with back.out.

Values to change

NameFileDefaultWhat it changes
FADEscript.js0.3Seconds for the layers and the other tiles to change (the site uses .3).
DIMscript.js0.3Opacity of the other tiles while one is lit (the site uses .3).
DOT_TIMEscript.js0.5Seconds the round mark takes to grow beside the label (the site uses .5).
GREYscript.js0.8Opacity of the grey photo under the duotone (the site uses .8).
LEANscript.js8How far the photo leans with the pointer, in % of its height.
PRESSscript.js0.985How much a tile shrinks while pressed.
TOURscript.js1.8Seconds the tour rests on each tile, when nobody touches the page.

Try them in the Playground

When to use it

For the site of a clinic, a spa, a beauty studio, a hotel with a wellness area or any studio that splits its services into a few big categories: the photos stay calm and in one colour until you pick one.

On phones

On a phone the three tiles stay side by side and are sized on the height too (vh); below them only the number of treatments stays. They light up on tap, and the tour starts again after a few seconds.

With reduced motion

No movement or leaning: the layers, the photo and the other tiles change with a fade, the round mark fades in without growing and the title comes in all at once.

Pitfalls

  • Veils in mix-blend-mode also blend with whatever is behind the tile: the box has isolation: isolate and a paper background, or the duotone changes with the page behind it.
  • GSAP tweens filter: saturate(0) → saturate(1) only when both values have the same shape: set everything from GSAP from the start, not half in CSS.
  • pointerenter also fires on touch: on a phone use the click, and hover only for the mouse (pointerType).

Libraries

GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 5.8 KB; the libraries: GSAP 28 KB.

Testing

Tested on 24 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations