
The globe of covers
Scroll, 3D, Images
NewLifetime
Images open like window blinds: slats in the page colour pull back in a scattered order while the photo zooms out.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN.
The code for this animation is part of lifetime access.
The preview stays open: watch it, slow it down, try it on your phone.
Lifetime accessFor each frame the script adds a .persiane layer with two to five flex spans; the last has flex 2. The colour is the page colour, so each slat looks like a piece of the page moving away.
stagger with from: 'random' starts the slats in a different order every time.
In the same timeline the image goes from scale 1.3 to 1 with expo.out, a little slower than the slats: the eye sees the opening first, then the settling.
toggleActions 'play none none reset' closes it again when you scroll back above; to open it only once, use once: true.
| Name | File | Default | What it changes |
|---|---|---|---|
STECCA | script.js | 170 | Approximate slat width: the number of slats comes from the photo width. |
MIN / MAX | script.js | 2 / 5 | Minimum and maximum number of slats. |
ZOOM | script.js | 1.3 | How close the image starts. 1 removes the zoom. |
--sfondo | style.css | #eef3ef | It must match the page colour behind the images. |
Project grids, galleries, article covers. With many images in a row keep the delay between them short.
One column; narrower images get fewer slats, so the opening stays readable.
No slats and no zoom: images are visible right away.
GSAP 3.15.0, ScrollTrigger 3.15.0, Mona Sans (font variabile) 5.3.0.
Weight: 6.2 KB of our own files.
Tested on 26 September 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.
With your account’s email and password.
You’re signed in as .
Your plan is free. When lifetime access arrives, it will switch on for this same account.