How to use the border radius generator
- Choose a mode. Corners sets up to four radii in px or %. Blob gives you four draggable handles.
- In Corners mode, link the corners for an even radius or unlink them for shapes like tabs, speech bubbles and leaves.
- In Blob mode, drag the handles on the edges, or focus one and use the arrow keys. Random blob gives you a fresh shape each time.
- Turn on morphing to animate between your blob and a second shape, and set the duration.
- Preview at any size and color, then copy the CSS.
Shape recipes
- Pill: a large radius such as 999px on a wide element.
- Circle or ellipse: 50%.
- Leaf:
0 50%alternating corners. - Drop: three corners at 50%, one at 0.
- Arch: full radius on the top corners only, using elliptical values.
- Squircle-like: around 30%. True squircles need SVG, but this is a close CSS approximation.
Using blobs well
Blobs make great image masks, decorative backgrounds and avatar frames. Add padding inside so text never touches the curved edge, and combine them with gradients from the gradient generator for a modern look.
How it works
Each corner of a box can have two radii: one along the horizontal edge and one along the vertical edge. border-radius lists the four horizontal radii, then a slash, then the four vertical ones. Equal values give round corners; different values give elliptical ones. The blob editor moves four handles around the edges and turns their positions into those eight percentages, which is why one short line of CSS can describe an organic shape.
Worked examples
Example 1: a friendly hero image
Load Blob 3, set the preview size to match your image (for example 360 × 360) and paste the CSS onto the <img> along with object-fit: cover. The organic outline softens a grid-heavy layout. Click Random blob a few times until the shape suits the photo’s subject.
Example 2: chat message bubbles
Load Speech: three corners at 24px and the bottom-left at 0 point the bubble towards the sender. For messages from the other side, unlink the corners and move the sharp corner to the bottom-right.
Example 3: a living background shape
Load Morph calm and place the element behind your hero text with a soft gradient. The shape eases between two blobs over 10 seconds. Keep it to one or two morphing shapes per page, because the browser repaints them on every frame. They stop automatically for people who prefer reduced motion.
Common mistakes
- Expecting a circle from a huge px radius: use 50% instead.
- Text touching curved edges: add padding of roughly a third of the radius.
- Forgetting overflow: child images need
overflow: hiddenon the parent, or their own radius, to follow the shape.
Import CSS from your site
Already have a style you like? Open Import CSS (copy from a site), paste a rule or just its declarations from your stylesheet or your browser’s developer tools, and press Import into the controls. This tool reads border-radius in px or %, including the elliptical slash form (the horizontal radii are kept), plus width and height. Everything else, and rules for states such as :hover or media queries, is listed as skipped, and the import can be undone in one step.