How the four effects work
Outline stacks text-shadow layers or uses a stroke property; neon repeats same-colour shadows with increasing blur to build a halo; 3D stacks offset shadows along one direction to simulate depth; gradient clips a background into the glyph shape. The CSS differs sharply, so generate per type rather than repurposing outline code for neon, where parameters mean different things.
Steps
- Enter two to eight characters of display text.
- Pick outline, neon, 3D or gradient; the buttons switch types directly.
- Set size, primary colour, effect colour and preview background — dark backgrounds reveal neon best.
- Copy CSS, load the example for reference values, or reset.
- Adjust size and offsets to the real container after pasting.
Tuning without mud
Outline needs one to two pixels; three or more eats stroke detail, especially at small sizes. Neon wants two or three layers with progressively larger blur; more smears into a blob. 3D offsets must step in one direction — positive to lower right, negative to upper left — since mixed directions look broken. Gradient endpoints need contrast, because same-hue ramps vanish on dark grounds. Verify every effect on the real background, not a white preview.
Performance and compatibility
Stacked text-shadows cost real paint time; ten layers on a headline can drop frames while scrolling, worse on mobile. Gradient text relies on background-clip with both standard and prefixed declarations, or some browsers render solid colour. The stroke property lacks support in older browsers and needs a shadow fallback. Confine effects to headings, buttons and a few accents — body text stays plain for both speed and legibility.
When not to use it
Skip body copy, form labels and data tables, where effects slow recognition. Skip print artwork, since shadows do not reproduce. Use caution in accessibility-critical interfaces, where gradient text and thin outlines depress contrast. Respect brand guidelines on type and colour. Effects season a page — one or two at most; more reads as cheap.