CSS Gradient Generator
Build a linear or radial CSS gradient and copy the resulting CSS declaration.
background: linear-gradient(135deg, #667eea, #764ba2);How to use the CSS Gradient Generator
Build a linear or radial CSS gradient and copy the resulting CSS declaration.
Steps
- Choose the gradient type and colors.
- Adjust the angle when using a linear gradient.
- Copy the CSS and paste it into a stylesheet.
Example: A two-color linear gradient
linear-gradient(135deg, #667eea, #764ba2)Limitations
The preview uses CSS gradient syntax supported by modern browsers. It does not check contrast or predict how the gradient looks across every display.