Gradient Text
Presets
Preview Text
Gradient Type
Angle
135deg
Color Stops (2–4)
Font Size
64px
Font Weight
Text Align
Generated CSS

How It Works

CSS text gradients use the background-clip: text technique:

  1. Apply a gradient to the element’s background property.
  2. Clip the background to the text shape with -webkit-background-clip: text and background-clip: text.
  3. Make the text itself transparent with -webkit-text-fill-color: transparent.

The result is gradient-painted characters with no SVG or images required — pure CSS.


Browser Compatibility

BrowserSupport
Chrome / EdgeFull
FirefoxFull (Firefox 122+)
SafariFull (-webkit- prefix required)
iOS SafariFull

Tips for Best Results

  • High contrast presets (Sunset, Fire, Neon) work best on dark backgrounds.
  • Pastel gradients suit light-mode body text at large sizes.
  • Always include both -webkit-background-clip: text and background-clip: text for cross-browser safety.
  • Add display: inline-block so the gradient clips correctly; block elements expand to full width and may show extra gradient area.

Build background gradients → CSS Gradient Generator

Generate color palettes → Color Palette Generator

Create box shadows → CSS Box Shadow Generator