Understanding Box Shadow
A larger blur value with a small spread tends to look the most natural, mimicking real ambient light. Negative offsets push the shadow up and to the left; positive offsets push it down and to the right.
Linear vs. Radial Gradients
A linear gradient transitions colors along a straight line at a chosen angle - 0deg points up, 90deg points right, 180deg points down, and so on. A radial gradient instead radiates color outward from a center point, which is better suited to spotlight or glow effects.
Every gradient is built from an ordered list of color stops, each with a position along the gradient (0% to 100%). Adding more stops lets you build multi-color transitions instead of a simple two-color fade; the builder keeps stops sorted so the preview always renders correctly regardless of the order you add them in.
Flexbox Playground Basics
| Property | Controls |
|---|---|
| flex-direction | Which way the main axis runs - row (left-to-right) or column (top-to-bottom), plus reversed variants |
| flex-wrap | Whether items are forced onto one line or allowed to wrap onto multiple lines |
| justify-content | How items are spaced along the main axis |
| align-items | How items are aligned along the cross axis |
| flex-grow / flex-shrink / flex-basis | Per-item rules for how each box grows, shrinks, and starts sizing relative to its siblings |
Adjust the container controls first to set the overall layout direction and spacing, then fine-tune individual items with their own grow/shrink/basis controls to see exactly how flexbox distributes space.
Border Radius & Independent Corners
border-radius accepts up to four values - top-left, top-right, bottom-right, bottom-left, in that clockwise order - so each corner can be rounded independently. Setting all four to the same value produces a classic rounded rectangle; setting them to 50% on a square element produces a perfect circle.
Using unequal corner values is a common way to create distinctive "blob" or asymmetric card shapes. The unit choice matters too: percentage values scale relative to the element's own size, while pixel values stay fixed regardless of how big the element is.
Frequently Asked Questions
Yes - CSS lets you stack multiple shadows on one element by comma-separating several offset/blur/spread/color groups (for example a tight dark shadow plus a soft ambient one). This builder generates a single shadow per declaration; to combine several, generate each one here and join the resulting declarations with commas yourself.
A linear gradient travels along one straight line, so a single angle fully describes its direction. A radial gradient instead radiates outward from a center point in every direction at once, so there's no single angle to set - that's why the angle slider hides itself when you switch to radial in this builder.
No - align-items controls how items line up on the cross axis within a single flex line. Once flex-wrap creates multiple lines, the space distributed between those lines is controlled by a separate property, align-content, which this builder doesn't expose. If your wrapped layout needs specific spacing between rows, add align-content by hand in your stylesheet.
flex-basis sets an item's starting size before extra space is distributed. flex-grow controls how much of any leftover space that item claims relative to its siblings (0 means it won't grow). flex-shrink controls how much it's allowed to shrink relative to siblings when there isn't enough room (0 means it won't shrink).
A box-shadow renders outside the element's border box, so if a parent container has overflow: hidden, part of the shadow can be clipped. Increasing the parent's padding or removing overflow: hidden on that ancestor usually fixes it.
It sets all four corners to the same value at once, which covers the common case of a uniformly rounded box. Turn it off to adjust each of the four corner sliders independently and create asymmetric shapes.