Visual builders for CSS gradients, box shadows, and border radius. Live preview, copy code.
The CSS Generator combines three visual code builders behind a single tab interface: a gradient generator, a box shadow generator, and a border radius generator. Each one previews the result live as you drag sliders, picks colors and adds layers — no refresh, no compile step. Copy the generated CSS with one click and paste it into your stylesheet.
The Gradient tab handles all three gradient types: linear, radial and conic. Add unlimited color stops, drag them to position, switch between hex and rgba. Linear gradients take an angle (0–360°); radial gradients let you pick shape (circle/ellipse), size and origin; conic gradients let you set a from-angle and center. Because gradients are applied via background-image: linear-gradient(...), this tab doubles as a CSS background generator for any element. Pair it with the standalone Gradient tool for quick one-off picks, the Color Palette tool for cohesive stop colors, or the Color Shades generator for tonal ramps.
The Box Shadow tab supports layered shadows — combine multiple shadow rules into one element to build the kind of layered depth you see on premium UI components. Each layer has offset-x, offset-y, blur, spread, color, opacity and an inset toggle. For typography depth, use the dedicated CSS Text Shadow generator. For drop-shadow filters that respect alpha channels, see the CSS Filter generator.
The Border Radius tab has two modes: simple (all four corners share one value) and advanced (per-corner elliptical x/y — eight values total). Advanced mode is how you build organic blob shapes, asymmetric pill buttons or speech-bubble cards. For more extreme shapes that go beyond what border-radius can express (stars, polygons, custom outlines), use the CSS Clip Path generator.
The CSS Generator is the hub — for narrower or more specialized jobs, these companions cover the rest of the CSS surface:
Everything runs locally in your browser. No upload, no server-side code generation, no tracking cookies. The CSS you build is yours.