Skip to content We're live on Product Hunt today Upvote
install

free tools runs in this tab no account, no upload

free tool

Border radius

What is the border-radius for these four corners?

Four corners into one declaration, with the inner radius worked out for you - the number a nested element needs so its curve stays concentric with the one outside it.

12px All four equal, so the short form is the whole declaration.
ready to paste
border-radius: 12px;
  • inner radius, 8px in keeps the two curves concentric 4px
  • as a pill 12px / 50%
  • logical properties border-start-start-radius: 12px

how to use it

  1. Set each corner in pixels; equal values collapse to the short form.
  2. Copy the declaration.
  3. If something sits inside this box with a border, use the inner radius row.

what this page cannot do

The extension reads the radii a live page uses, which is how you find the card whose inner corner is 8px inside an outer 8px and reads as a dent.

Site styles in the panel Can I keep a CSS fix for one site and have it come back?