Holographic Foil

Metallic & Holographic · Animated · pure CSS

Iridescent foil that shifts hue continuously via an animated @property angle on a conic gradient. That holographic-sticker shimmer, in pure CSS.

Holographic Foil

How it works

Holographic Foil is an animated metallic & holographic text effect rendered entirely in CSS. It animates a registered CSS @property, which keeps the motion smooth and GPU-friendly.

Controls

Holographic Foil exposes 2 dedicated controls — Speed and Saturation — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.

CSS

/* Holographic Foil — made with TEXT-FX · https://text-fx.app
 * HTML: just put the class on any element.
 * Font: 'Recursive', sans-serif (load from Google Fonts).
 */

@property --text-effect-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.text-effect {
  font-family: 'Recursive', sans-serif;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: none;
}

.text-effect {
  background: conic-gradient(from var(--text-effect-angle),
      hsl(300 49% 70%) 0deg,
      hsl(255 49% 64%) 60deg,
      hsl(190 49% 70%) 120deg,
      hsl(140 49% 64%) 180deg,
      hsl(55 49% 70%) 240deg,
      hsl(15 49% 64%) 300deg,
      hsl(300 49% 70%) 360deg);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 3px hsl(280 49% 65% / 0.45)) drop-shadow(0 0 8px hsl(280 49% 65% / 0.45));
  animation: text-effect-spin 11.5s linear infinite;
}

@keyframes text-effect-spin {
  to { --text-effect-angle: 360deg; }
}

Pure CSS — just add the .text-effect class to any element.

Category
Metallic & Holographic
Type
Animated
Browser support
@property <angle> + background-clip:text (Chrome 85+, Safari 16.4+, Firefox 128+)
Capabilities
property

Related Metallic & Holographic effects