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:
- Apply a gradient to the element’s
backgroundproperty. - Clip the background to the text shape with
-webkit-background-clip: textandbackground-clip: text. - 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
| Browser | Support |
|---|---|
| Chrome / Edge | Full |
| Firefox | Full (Firefox 122+) |
| Safari | Full (-webkit- prefix required) |
| iOS Safari | Full |
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: textandbackground-clip: textfor cross-browser safety. - Add
display: inline-blockso the gradient clips correctly;blockelements expand to full width and may show extra gradient area.
Related Tools
Build background gradients → CSS Gradient Generator
Generate color palettes → Color Palette Generator
Create box shadows → CSS Box Shadow Generator
