Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Build a CSS border-radius with independent per-corner control.
border-radius: 16px;This tool builds a CSS border-radius declaration with independent control over all 4 corners -- useful for asymmetric rounding (like a speech-bubble or blob shape) as well as the common uniform-rounding case.
Set a pixel value for each of the 4 corners (top-left, top-right, bottom-right, bottom-left). The preview and generated CSS update instantly, automatically collapsing to a single value when all 4 corners match.
border-radius: TL TR BR BL; sets each corner independently, in top-left, top-right, bottom-right, bottom-left order (clockwise from top-left). When all 4 values are equal, CSS (and this tool) collapses it to a single shorthand value.
For other CSS visual generators, see the CSS Triangle Generator or Box Shadow Generator.
All four corners start at 16 pixels, so the first output is the collapsed form border-radius: 16px; The output only stays in that single-value form while every corner is identical. As soon as one corner differs, the tool writes four values in order: top-left, top-right, bottom-right, bottom-left. The tool's corner inputs are labelled in pixels and accept zero or higher. Blank or non-numeric fields are treated as 0 rather than producing an error.
Suppose you want a hypothetical chat bubble that looks like it belongs to the sender on the right. Set top-left 20, top-right 20, bottom-right 4 and bottom-left 20. The output is border-radius: 20px 20px 4px 20px; The small bottom-right value creates the pointed corner where the message appears to come from, while the other three corners stay generously rounded. Flip it by moving the small value to bottom-left for the other side of a conversation. Using clearly different values for a leaf shape, for example 0 on top-left and bottom-right and 40 on the others, gives an organic, petal-like block.
This tool always writes pixel values. Percentages are relative to the element's own width and height, so a percentage-based radius on a non-square element creates elliptical corners. If you need that, take the generated line and edit the units by hand. Pixel values remain constant as the element resizes, which is usually what you want for buttons, cards and inputs so their corner style stays consistent across sizes.
The generator does not create the slash syntax for separate horizontal and vertical radii per corner, and it does not output longhand properties such as border-top-left-radius. It provides one uniform unit for all four corners and the shorthand result only.
Setting all 4 corners to 50% (or a very large px value relative to the element's size) produces a circle on a square element, or a pill/stadium shape on a rectangular one.
Yes -- border-radius accepts percentages, which scale relative to the element's own size rather than a fixed pixel value; this tool's inputs default to pixels for straightforward use.
Top-left, top-right, bottom-right, bottom-left -- clockwise starting from the top-left corner, matching CSS's standard shorthand property ordering convention.
When all four corners are equal, the tool collapses the shorthand to one value because that is identical in CSS and shorter to read.
Set the top-left and top-right values to your radius and the bottom-right and bottom-left values to 0. This is a common style for cards that attach to something below.
Browsers cap radii so adjacent corners never overlap, so any value beyond that limit renders the same as the maximum possible curve.
Yes. Apply the same border-radius to an img element. For a circular avatar, use a square image with a radius of 50 percent, written by hand or a pixel value of at least half the side.
Reference: MDN Web Docs