Look 07, second fitting
- Bust
- 88 cm
- Waist
- 68 cm
- Hem allowance
- 4 cm
- Fabric
- Silk faille
Twelve hand-finished effects for premium websites. Add one attribute to your HTML and ship 3.7 KB of JavaScript.
A frosted panel with a bright top edge and a highlight that follows the cursor. On phones it keeps the frosted look without tracking.
--af-glass-blur how frosted it is--af-glass-sheen highlight colour--af-glass-radius corner radius<div data-fx="glass">…</div>Any SVG illustration draws itself stroke by stroke when it scrolls into view. No measuring paths, no timeline to set up.
data-af-stagger seconds between strokesdata-af-duration seconds per stroke<svg data-fx="draw" data-af-stagger="0.12"> <path d="…" /> </svg>
Headings rise out of a mask word by word, or letter by letter. Inline markup like em survives, and screen readers hear the full sentence once.
data-af-split words or charsdata-af-stagger seconds between piecesAutumn atelier
Every seam finished by hand.
<h2 data-fx="reveal">Every seam finished <em>by hand.</em></h2> <p data-fx="reveal" data-af-split="chars">Autumn atelier</p>
A slow metallic sweep across type, like light moving over a foil-stamped invitation. Pure CSS, so it costs nothing to run.
--af-foil-shine highlight colour--af-foil-deep shadow colour--af-foil-speed one full sweepCouture
<h1 data-fx="foil" style="--af-foil-shine:#f1d9a7">Couture</h1>A soft light follows the cursor through dark sections, and cards lean toward it with a slight magnetic pull. Combine effects by listing them in one attribute.
data-af-tilt max rotation in degreesdata-af-pull magnetic drift in px--af-spot-color light colour<section data-fx="spotlight"> <div data-fx="tilt" data-af-tilt="8">…</div> </section>
A panel pulls away to unveil an image or video, which settles from a slight zoom. Runs on page load or when it scrolls into view.
data-af-direction up, down, left, rightdata-af-trigger view or load--af-curtain-color panel colour<figure data-fx="curtain" data-af-direction="left"> <img src="look-07.jpg" alt="…"> </figure>
The quieter details that make a page feel expensive.
The champagne line under the header is this effect. Scroll and watch it fill.
<div data-fx="progress"></div>Background films pause off-screen and in hidden tabs, and never autoplay on data saver or for reduced-motion visitors. Your hero film stops costing battery.
<video data-fx="video" src="film.mp4" loop></video>Sites using atelier-fx appear here. Launched one? Send the link and it goes on the rail.
Drop two tags in, and every data-fx on the page comes alive.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/atelier-fx/dist/atelier-fx.min.css"> <script src="https://cdn.jsdelivr.net/npm/atelier-fx" defer></script>
Works with Vite, Next.js, Astro and anything that speaks ES modules.
import { init } from 'atelier-fx';
import 'atelier-fx/style.css';
init();A component and a hook that clean up on unmount.
import { FX } from 'atelier-fx/react';
<FX as="h1" fx="reveal">
Every seam finished by hand.
</FX>Building in Webflow, Framer, WordPress or Shopify? Paste the CDN tags into your head code and add data-fx as a custom attribute. Step-by-step guides
Reduced-motion users see the finished page instantly. Touch devices skip cursor effects.
Effects add classes and CSS variables only, so your own styles stay in charge.
Only transforms and opacity animate, and nothing runs until it is on screen.