Rounded corners and 8-value blob shapes
- Free
- No sign-up
- No upload
- Works offline
Tool facts
- Price
- Free, no sign-up, no watermark
- Are files uploaded?
- No. Everything is processed in this browser, on your device.
- Offline use
- Works without a connection once this page has loaded
- Browser
- A recent Chrome, Edge, Firefox or Safari, on computer or phone.
Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.
About Border Radius Generator
Border Radius Generator writes the CSS border-radius property while you shape a live preview. In Simple mode you set one radius per corner in pixels or percent, or link all four corners so they move together, which covers everyday rounded buttons, cards and avatars. The output is automatically shortened to the smallest equivalent form, so four equal corners become a single value such as border-radius: 24px.
Advanced mode uses the full 8-value syntax, border-radius: a b c d / e f g h, where the values before the slash are the horizontal radii and the values after it are the vertical radii of the top-left, top-right, bottom-right and bottom-left corners. Giving each corner a different ellipse produces organic blobs, eggs, leaves and drops from a single element with no SVG. Pick a preset shape, generate a random blob, then fine-tune any corner with its sliders.
Border Radius Generator runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.
How to use Border Radius Generator
- Choose Simple for ordinary rounded corners or Advanced for 8-value organic shapes.
- In Simple mode pick px or %, then drag the corner sliders. Turn on Link corners to change all four at once.
- In Advanced mode set the Horizontal and Vertical radius of each corner, click a preset under Shapes, or use Random blob.
- Resize the preview with Width and Height, then click Copy CSS.
Frequently asked questions
What does the slash in border-radius mean?
Values before the slash are horizontal radii and values after it are vertical radii, listed in the order top-left, top-right, bottom-right, bottom-left. When the two radii of a corner differ, that corner becomes a quarter of an ellipse instead of a quarter circle.
Should I use px or % for border-radius?
Pixels keep the same curve whatever the element size, which suits buttons and cards. Percentages are relative to the element's width (horizontal radii) and height (vertical radii), so shapes such as circles and blobs scale with the element. border-radius: 50% on a square makes a circle.
Why do my corners look smaller than the values I set?
If the radii on one side add up to more than that side's length, the browser scales all radii down proportionally so they fit. For example 100% on every corner is treated the same as 50%.
Does border-radius clip the element's content?
It rounds the background, border and box-shadow. Child content that overflows the rounded corners is only clipped if you also set overflow: hidden or overflow: clip on the element.