ShareYourGroupShareYourGroupCSS Lab

CSS generators with plain explanations

Move the sliders, see the result, copy the code, and learn what every value does.

Generators

Presets to copy

All guides

What is on this site

CSS Lab has eight generators and ten guides. A generator shows the result at once while you move sliders, and gives you the CSS to copy. A guide explains what the properties mean, so that you can change the code with confidence instead of pasting something you do not understand.

GeneratorWritesBest for
Gradientlinear-gradient, radial-gradient, conic-gradientBackgrounds, buttons, pie charts
Box shadowbox-shadowCards, buttons, inputs
Flexboxdisplay: flex and its container propertiesRows, columns, navigation bars
Griddisplay: grid, columns, gapGalleries, page layouts
Clip-pathclip-pathHexagons, stars, arrows, diagonal edges
Glassmorphismbackdrop-filter and a translucent panelFrosted cards over photos
Animation@keyframes and animationEntrance and attention effects
Border-radiusthe eight-value border-radiusBlobs, pills, circles

How to use the generated code

  1. Move the controls until the preview looks right.
  2. Press Copy under the code box.
  3. Paste it into the rule for your element, for example .card { ... } in your stylesheet. In Blogger, add it in Theme, then Customise, then Advanced, then Add CSS.
  4. Reload your page and look at it on a phone as well as a computer.

Why we explain every value

Generators are easy to find. What is rare is a clear explanation of the output. Every generator page here says what each number does, what mistakes it commonly causes, and how to adapt the result, and the guides go deeper. That makes the code easier to fix when something looks different on your page.

Frequently asked questions

Is the CSS free to use?

Yes. Use the output on any personal or commercial page. You do not need to credit us.

Does it need a sign-in or install?

No. It works in the browser, even without an internet connection after the page has loaded.

Will the code work in every browser?

We tested the output in current Chrome and WebKit (Safari's engine). Older browsers may lack some features such as backdrop-filter or conic-gradient, and the guides say where to add a fallback.

This is an independent site. It is not connected with the W3C, MDN, Google, Apple, Mozilla or Microsoft. Browser and product names belong to their owners.