CSS Tools

Border Radius & Blob Generator

Round each corner individually in px or %, or create organic blob shapes, then copy the shortest border-radius CSS.

Mode

Live preview

CSS


                        

Tailwind class


                        

About border-radius and blobs

The border-radius shorthand takes one to four values in the order top-left, top-right, bottom-right, bottom-left. When opposite corners match, values can be dropped: four equal corners need just one value, and 10px 0 10px 0 is the same as 10px 0. This generator always outputs the shortest form.

Each corner can also have two radii, a horizontal and a vertical one, written as horizontal values / vertical values. With percentages this produces organic "blob" shapes. In blob mode, Randomize picks values so opposite edges meet smoothly; fine-tune any of the eight sliders afterwards.

Percentages are relative to the element's width (horizontal radii) and height (vertical radii), so blobs scale with the element; a px radius stays the same size on any element. Everything runs in your browser. To add depth to the same shape, try the Box Shadow Generator.

Frequently Asked Questions

Top left, top right, bottom right, bottom left (clockwise from the top left). When opposite corners match, values can be left out, so the tool always prints the shortest equivalent shorthand.

Values before the slash are the horizontal radii of the four corners and values after it are the vertical radii. Different horizontal and vertical percentages give the organic blob shapes.

Use px for buttons and cards so the rounding stays the same on any size. Use % for circles (50%) and blobs that should scale with the element.