Task path / input to outcome
How to shape a CSS border radius
- 01
Choose the unit
Set Unit to Pixels or Percent — the workspace starts in Pixels. Pixels stay constant at any element size; percent values scale with the element, which is what makes organic, asymmetric shapes possible.
- 02
Adjust the four corners
Move Top left, Top right, Bottom right, and Bottom left — each from 0 to 100 in the chosen unit, in steps of 1. All four start at 24 px, and the preview card redraws with every change.
- 03
Link or unlink the corners
Keep Link all corners on to change every corner at once, or turn it off to shape each corner independently. The workspace states it next to the toggle: changing one corner updates all four while linked.
- 04
Try the sample shape
Press Load sample for an asymmetric reference: Top left and Bottom right at 64 px, Top right and Bottom left at 12 px, unlinked — the diagonal leaf shape used on cards and avatars. Reset returns to the uniform 24 px default.
- 05
Check the generated declaration
The output always lists four values in clockwise order — top-left, top-right, bottom-right, bottom-left — so every corner stays explicit when you paste it. The status badge reads VALID CSS, and any out-of-range corner flips it to CHECK VALUES and blocks copying.
- 06
Copy or download the CSS
Press Copy CSS to copy the .rounded-card rule as a four-value border-radius declaration, or Download .css to save it as toolars-border-radius.css. The same declaration works on images, buttons, cards, and any other element.