Tools / CSS Gradient and Shadow Generator
CSS Gradient and Shadow Generator
Build CSS gradients and box shadows with sliders and a live preview. Switch between linear and radial gradients, stack shadow layers, and copy a declaration you can paste straight into a stylesheet.
Frequently asked questions
Which gradient types are supported?
Linear and radial, each with an optional repeating variant. Linear gradients take an angle in degrees; radial gradients take a circle or ellipse shape.
How many color stops can I add?
Up to eight. Stops are sorted by position before the CSS is written, because a stop placed before the previous one gets clamped by the browser and quietly changes the result.
Can I stack multiple shadows?
Yes, up to four layers. They are joined with commas in the order you add them, and each layer can be inset independently.
Why is my blur value never negative?
CSS rejects a negative blur radius, so the generator clamps it to zero. Offsets and spread can be negative and are passed through as typed.
What exactly gets copied?
A full declaration — `background-image: ...;` for gradients and `box-shadow: ...;` for shadows — ready to paste into a stylesheet.
Let's build something you're proud of
I help businesses launch, optimize and maintain their online presence, from code to SEO.
Let's talkRelated tools
robots.txt Generator
Free robots.txt generator. Build user-agent groups with allow and disallow rules, add a sitemap, block AI crawlers and copy the file.
htaccess Redirect Generator
Free .htaccess redirect generator for Apache and cPanel. Build 301 and 302 mod_rewrite rules, force HTTPS and pick a canonical www host.
UUID / ULID Generator
Free online UUID and ULID generator. Create one or many UUIDv4 or ULID values in your browser with optional uppercase output and no signup.
QR Code Generator
Free online QR code generator. Create a PNG QR code from a URL or text in your browser, then download it. No signup and no upload.
Password Generator
Free online password generator. Create strong random passwords with custom length, letters, numbers, symbols and optional ambiguous-character exclusion.
Random Number Generator, Picker & Shuffler
Free online random number generator, list picker and shuffler. Generate a random integer, pick one item from a list, or shuffle lines.