Tailwind Class Sorter
Sort Tailwind classes and detect conflicting utilities with a winner explanation.
OpenShape each corner independently and get the border-radius shorthand in the right order.
The preview opens with one corner rounded more than the rest.
Adjust top-left, top-right, bottom-right and bottom-left from 0 to 80 px.
The block redraws on every change so you can judge the curve.
Copy the clockwise four-value rule or download radius.css.
A chat bubble needs three rounded corners and one tight corner pointing at the avatar. Writing border-radius: 16px 16px 4px 16px from memory means guessing which value maps to which corner. Here you drag the corner you mean and read the result.
Four sliders control top-left, top-right, bottom-right and bottom-left, each from 0 to 80 px. A sample block updates as you drag, and the output is a .card rule with the four-value shorthand in clockwise order starting at the top left. That order is the part most people mix up, so it helps to see it written out for the shape you just built.
Values are in pixels, which makes radii consistent across components of different sizes. If you want a pill shape, set every corner to at least half the element height (80 px covers buttons and tags up to 160 px tall). For a perfect circle on a square element, swap the copied value for 50% by hand. When the rounded box also needs depth, pair it with the box shadow builder, or check the softer look made by the neumorphism CSS generator.
Nothing is uploaded; the rule is built in the page and can be saved as radius.css.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
Clockwise from the top left: top-left, top-right, bottom-right, bottom-left. The generator always outputs all four, even when they match.
No. Each slider sets a single circular radius. For elliptical corners, edit the copied value into the form 40px / 20px.
When adjacent radii add up to more than the element side, the browser scales all of them down proportionally. On small elements, big values hit that limit quickly.