176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: Holographic Card (06.25): the README names Chrome and Edge before 120 for the mask prefix too
matinf868e7a6b70d
diff --git a/animations/06-3d-advanced/holographic-card/README.md b/animations/06-3d-advanced/holographic-card/README.mdindex 4f14c26a..5ecfd1cc 100644--- a/animations/06-3d-advanced/holographic-card/README.md+++ b/animations/06-3d-advanced/holographic-card/README.md@@ -83,7 +83,7 @@ The pointer is measured against the card's own place, its untransformed box, not- **Blending stays on the card**: `mix-blend-mode` mixes a layer with everything painted under it in its stacking context. The card's transform makes it a stacking context of its own, so the foil mixes only with the card's picture; a card that has no transform at rest needs `isolation: isolate`, or the foil also lights up the page behind it.- **Text contrast**: keep text on solid panels above the foil and the glare. Color dodge lightens a dark background a long way under a bright streak, and an added glare whitens it, so text laid straight on the foil can lose its contrast at some angles. A light over the panels themselves has to stay faint: white at a quarter strength over the demo's dimmest text (#bdb7e6 on #110e27) still leaves 5.4:1.- **Touch**: Pointer Events cover mouse, pen and touch. `touch-action: none` on the card lets a finger drag tilt it instead of scrolling the page; under reduced motion the demo sets it back to `auto`, since the card no longer tilts. A finger that slides off the card keeps it leaning toward that edge until it lifts.-- **Masks and blending**: Safari before 15.4 needs the `-webkit-mask` prefix; the demo writes both. `plus-lighter` is the newest of these blend modes (Chrome and Firefox added it in 2022); a browser without it draws the glare with plain blending, fainter but in the same place.+- **Masks and blending**: Chrome and Edge before 120 and Safari before 15.4 need the `-webkit-mask` prefix; the demo writes both. `plus-lighter` is the newest of these blend modes (Chrome and Firefox added it in 2022); a browser without it draws the glare with plain blending, fainter but in the same place.- **Libraries**: VanillaTilt.js does the tilt and a glare (`glare: true`, `"max-glare"`), and Atropos adds layers at different depths; both leave the foil to your CSS. In React, Framer Motion's `useMotionValue` and `useSpring` drive the same transforms, and GSAP's `quickTo` gives the same eased follow.- **Reduced motion**: the card stays flat and nothing slides. Pointing at it, or Show me, fades the foil and the glare brighter where they are, and they fade back afterwards.