CSS Shadow Generator
Design box-shadows with the same live-preview flow.
Mix colors, drag the angle, and watch the gradient render live — then copy standards-compliant background CSS.
Color stops
Every color stop marks a point where that color is fully solid. The browser interpolates between neighboring stops, so three stops create two smooth transitions.
Linear gradients take an angle (0° is bottom-to-top, 90° is left-to-right); radial gradients take a shape and a center position — that is how glows and spotlight effects are made.
The output is a single background declaration, valid in every modern browser. Paste it into any element's rule and you are done.
Linear gradients flow along a straight line at a chosen angle; radial gradients radiate outward from a point as circles or ellipses. Linear suits section backgrounds and buttons; radial suits glows and spotlights.
Each stop has a 0%–100% position where the color is fully solid. Between stops the browser blends smoothly. Leave positions evenly spaced for the classic look.
Yes — linear-gradient and radial-gradient are supported in every modern browser with no vendor prefixes required for this syntax.