Gradient & box-shadow
Build linear-gradient() and box-shadow CSS in your browser — copy-ready snippets.
Create two-color linear gradients with angle control and tune box-shadow (offset, blur, spread, color, opacity). Preview on a white stage so shadows stay visible; copy CSS for your UI work — all local, no upload.
Linear gradient
Gradient preview
Gradient CSS
linear-gradient(90deg, #3B82F6, #FFFFFF)Box shadow
Preview
Shadow CSS
box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);Quick guide
Pick two colors and an angle for a linear-gradient() string, or adjust shadow sliders for a box-shadow declaration.
The shadow preview uses a white backdrop on purpose so soft shadows stay visible in dark mode too.
Copy buttons send only the CSS line to your clipboard; nothing is uploaded.
FAQ
- Why a white preview area?
- Gray or black backgrounds swallow subtle shadows. White gives a realistic card-on-paper read.
- Does this replace the Color Converter?
- No — use the Color Converter for HEX/RGB/HSL/CMYK. This page is only for gradient and shadow CSS.
- Safari / Firefox?
- Standard color inputs and CSS work in current browsers; copied CSS is plain text.
- Privacy?
- All math runs in your browser.