Skip to content
animorio
IT
Back to the library

Full-screen card zoom

Scroll, Transitions, ImagesGSAP, CSS onlyMediumCompressed weight: Demo 7.0 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

Tidewright, a made-up maker of solar surface drones, keeps a small card at the bottom centre with the wake of a boat at sea; as you scroll, a clip-path inset closes in on all four sides and the card becomes the whole screen, the photo inside grows from a fifth of its size and the corners stay round until the last twentieth. Minimal style. From the «Deploy in minutes» card of the Seasats site, Awwwards Site of the Day on 8/9/2026.

Rebuilt from scratch studying seasats.com by Raw Materials, Owls Department: 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>
<!--
  "Full-screen card zoom" 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>Tidewright, deploy in minutes</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- Tidewright, a made-up maker of solar surface drones. A sticky stage scrubbed by the scroll: a small card sits at
       the bottom centre with a clip of the boat at sea; the title waits, then the card opens to the whole screen with a
       clip-path inset that shrinks on every side, the photo inside grows from a fifth of its size, and the round corners
       hold until the very last twentieth. At the end three spec lines rise over the sea. -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <header class="testa" data-testa>
        <p class="marca" data-entra>
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 14.5h18l-2.6 4H6.2z" fill="currentColor"/><path d="M8.5 14.5V9.2h6.4l1.6 5.3" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/><path d="M11 9.2V5.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>
          Tidewright
        </p>
        <p class="etichetta" data-entra>Autonomous surface vessels</p>
      </header>

      <div class="titolo-blocco" data-titolo-blocco>
        <h1 class="titolo" data-titolo><span class="riga"><span class="riga__in">Deploy</span></span><span class="riga"><span class="riga__in">in minutes.</span></span></h1>
        <p class="sotto" data-entra>From the dock to station in under ten minutes, with nobody on board.</p>
      </div>

      <div class="fondo" data-fondo aria-hidden="true">
        <div class="media" data-media>
          <img src="scia.webp" alt="" width="960" height="481">
        </div>
        <div class="velo" data-velo></div>
        <div class="grana"></div>
      </div>

      <div class="pieno" data-pieno aria-hidden="true">
        <img src="scia.webp" alt="" width="960" height="481">
        <div class="velo"></div>
        <div class="grana"></div>
      </div>

      <div class="bordo" data-bordo aria-hidden="true"></div>

      <div class="tessera" data-tessera>
        <span class="tempo" data-tempo>00:00</span>
        <span class="guarda" data-guarda>Watch the deploy
          <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 12 12 4M6 4h6v6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
        </span>
      </div>

      <dl class="dati" data-dati>
        <div class="dato"><dt><span>Range</span></dt><dd><span>2,400 nm</span></dd></div>
        <div class="dato"><dt><span>Solar</span></dt><dd><span>1.2 kW</span></dd></div>
        <div class="dato"><dt><span>Top speed</span></dt><dd><span>14 kn</span></dd></div>
      </dl>
    </div>
  </section>
  <footer class="fine">Tidewright is a made-up company. The vessel is not for sale.</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>

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.

29 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 “Full-screen card zoom” 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

At the top the brand, Tidewright, and the title «Deploy in minutes.», which arrives line by line from behind a mask, slightly skewed. At the bottom centre sits a small card with an aerial photo of a boat and its wake, the clip’s clock running in a corner and «Watch the deploy» with an arrow. For the first third of the scroll nothing happens; then the card opens: its edges run out to the sides of the screen, the photo grows from the card’s bottom edge, the title shrinks by a tenth and fades, and the round corners and the light hairline around them hold until the very end. When the sea fills the screen, three data lines rise with their rule: range, solar power, speed. A mouse over the card lifts it a hair, a click rides the scroll to the open sea.

How it works

The sticky stage

A 340vh section holding a sticky stage 100lvh tall. A scrubbed timeline runs from top top to bottom bottom: for half a second of timeline nothing happens, then p goes from 0 to 1 in one second with power2.inOut, as on the site.

The clip-path closing in

The photo layer is as big as the stage and cut with clip-path: inset(top left bottom round radius): top = (height − card height − gap) × (1 − p), left = (half width − half card) × (1 − p), bottom = gap × (1 − p). The pixel sizes are measured again on resize.

Corners until the end

The radius is radius × clamp(0, (1 − p) / 0.05, 1): it stays full for 95% of the opening and goes in the last twentieth, together with the light hairline around the card.

The growing photo

The photo scales from 0.2 to 1 around the middle of the card’s bottom edge (transform-origin 50% and height − gap); ours never drops below the size that covers the card, so the closed card is never empty.

Title, data and details

The title comes in with masked lines from yPercent 100 and skewY 5 in 1.6 s power4.out, 0.12 s between lines; when the card opens it scales to 0.9 and fades in power2.in. At the end the three data lines are uncovered with their rule and rise from below. The clock and the slow drift of the photo live in the GSAP ticker.

Values to change

NameFileDefaultWhat it changes
CARD_WIDTHscript.js21.9Width of the closed card, in rem (the site uses 21.9).
CARD_HEIGHTscript.js12.3Height of the closed card, in rem (the site uses 12.3).
GAPscript.js3.2Distance of the card from the bottom edge, in rem (the site uses 3.2).
RADIUSscript.js14Corner radius of the card, in pixels.
START_SCALEscript.js0.2How small the photo starts (the site uses 0.2).
HOLDscript.js0.5The still stretch before the card opens, compared with the opening (the site uses 0.5).
RIDEscript.js1How much scroll the whole stage takes: 2 is twice as long.
SCRUBscript.js0.6How far the stage lags behind the scroll, in seconds.

Try them in the Playground

When to use it

For the opening of a landing page or a company site with a video or a photo to show big: the card invites, the scroll opens it, and the content arrives full screen without a hard cut.

On phones

On a phone the card is narrower and lower (at most 72% of the width and 36% of the height), the title is sized on the height too and the three data lines stay in a row. Same scroll, same opening.

With reduced motion

Nothing moves or grows: the card stays closed in its place, and as you scroll the open sea fades in over it, the title fades away and the data appear one at a time.

Pitfalls

  • The clip-path sizes go in pixels measured again on resize: the demo window changes height while you watch.
  • The radius is divided by 0.05 and kept between 0 and 1, otherwise the corners straighten at once and the card looks like a growing rectangle.
  • With the photo starting at 0.2 the closed card would be empty around it: the scale never drops below the one that covers the cut.
  • Free photos are about 960 px wide: a slow drift and the grain help, but never scale past 1.03.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 7.0 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 26 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