Double Outline

Outline & Stroke · Static · pure CSS

Hollow text ringed by two concentric outlines built from hard text-shadows, the inner and outer rings in distinct hues. Sticker-like and punchy.

Double Outline

How it works

Double Outline is a static outline & stroke text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.

Controls

Double Outline exposes 2 dedicated controls — Hue and Gap — 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

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

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

.text-effect {
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    4px 0 0 hsl(138 78% 70%),
    -4px 0 0 hsl(138 78% 70%),
    0 4px 0 hsl(138 78% 70%),
    0 -4px 0 hsl(138 78% 70%),
    2.83px 2.83px 0 hsl(138 78% 70%),
    -2.83px 2.83px 0 hsl(138 78% 70%),
    2.83px -2.83px 0 hsl(138 78% 70%),
    -2.83px -2.83px 0 hsl(138 78% 70%),
    2px 0 0 hsl(318 92% 64%),
    -2px 0 0 hsl(318 92% 64%),
    0 2px 0 hsl(318 92% 64%),
    0 -2px 0 hsl(318 92% 64%),
    1.41px 1.41px 0 hsl(318 92% 64%),
    -1.41px 1.41px 0 hsl(318 92% 64%),
    1.41px -1.41px 0 hsl(318 92% 64%),
    -1.41px -1.41px 0 hsl(318 92% 64%);
}

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

Category
Outline & Stroke
Type
Static
Browser support
layered hard text-shadow (no -webkit-text-stroke needed)
Capabilities
pure

Related Outline & Stroke effects