Outline

Outline & Stroke · Static · pure CSS

Hollow outline text via -webkit-text-stroke, with an optional offset echo shadow. Minimal, editorial and lightweight.

Outline

How it works

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

Outline exposes 3 dedicated controls — Hue, Stroke and Echo — 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

/* Outline — generated with TEXT-FX
 * HTML: just put the class on any element.
 * Font: 'Recursive', sans-serif (load from Google Fonts).
 */

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

.text-effect {
  color: transparent;
  -webkit-text-stroke: 2.5px hsl(21 90% 66%);
}

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

Category
Outline & Stroke
Type
Static
Browser support
-webkit-text-stroke (all modern, prefixed)
Capabilities
pure

Related Outline & Stroke effects