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

CSS

/* Double Outline — generated with TEXT-FX
 * 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