AdSense728×90
CSS Gradient Generator
Build beautiful CSS gradients visually and copy the code.
CSS gradients let you create smooth transitions between two or more colors without using image files — keeping your site fast and scalable. They're used for hero backgrounds, buttons, cards, text effects and decorative UI elements throughout modern web design. CodeBench's gradient generator lets you build linear and radial gradients visually — adjust colors, angle and stops, then copy the CSS with one click. Includes hand-picked presets to get started fast.
How to use:
- 1. Choose Linear or Radial gradient type
- 2. Adjust the angle slider for linear gradients
- 3. Click the color swatches to pick your colors
- 4. Add more color stops for multi-color gradients
- 5. Click a preset for instant inspiration
- 6. Copy the CSS output and paste it into your stylesheet
background: linear-gradient(135deg, #00C896, #6C8EFF);
Type & Angle
Angle: 135°
Color Stops
Presets
AdSense160×600