CSS Border Radius Designer
Visually design rounded corners with individual corner control, live preview, and instant CSS code
Drag sliders to shape each corner, see the result update instantly, and copy the finished border-radius CSS in one click. Set all four corners at once or unlink them for individual control — elliptical mode handles the slash syntax so you don't have to. And everything runs in your browser. Nothing gets uploaded.
How It Works
Move any corner slider and the preview box redraws instantly. The tool builds the correct border-radius shorthand — including the slash syntax for elliptical corners — so you don't have to remember the spec. Pick your unit (px, %, em, or rem), toggle the webkit prefix if you need it, then hit copy.
Examples
Pill-shaped button
You want a CTA button with fully rounded ends, like most SaaS landing pages use.
All corners: 9999px
Unit: px
border-radius: 9999px;
Chat bubble with one sharp corner
Messaging apps usually keep one corner square so the bubble "points" at the sender. Here is the right-side version.
Top-left: 16px
Top-right: 16px
Bottom-right: 2px
Bottom-left: 16px
border-radius: 16px 16px 2px 16px;
Blob-style card with elliptical corners
You are building a portfolio and want organic, uneven curves on a feature card — not the same radius everywhere. Elliptical mode lets you set separate horizontal and vertical radii for each corner, producing that hand-drawn look that is popular in creative portfolios.
Elliptical: ON
H-radii: 40% 60% 30% 70%
V-radii: 60% 40% 70% 30%
border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
Who Uses This
Prototype border-radius values without reloading a dev server every time.
Grab exact CSS for the corner rounding defined in Figma or Sketch specs.
Learn how the four-value shorthand and slash syntax actually work by experimenting live.
Test rounded corners with the -webkit- prefix for Outlook and older email clients.
Common Mistakes
50% only creates a perfect circle when width and height are equal. On a rectangle it produces an ellipse. Set the element to a square first, or use a huge pixel value like 9999px for pill shapes.
The four-value shorthand goes clockwise from top-left: TL TR BR BL. A lot of people assume it starts top-right or follows the same order as padding. If top-right and bottom-left look swapped, that is probably why.
Every browser since 2012 supports unprefixed border-radius. Adding the prefix bloats your CSS for no reason — unless you are targeting pre-Android 4.4 WebViews or very old iOS Safari. Skip it by default.
Technical Details
- Processing: 100% client-side — nothing uploaded
- Browser Support: Chrome, Firefox, Safari, Edge (all current versions)
- Units: px, %, em, rem
- Elliptical Mode: Generates slash syntax (horizontal / vertical)
- Prefix Option: -webkit-border-radius for legacy compatibility
Frequently Asked Questions
What is CSS border-radius and what does it do?
It rounds the corners of any HTML element. One value rounds all four corners equally. Four values let you set each corner separately, starting from the top-left and going clockwise. Every modern browser supports it without a prefix.
How do I make a circle with CSS?
Give the element equal width and height, then set border-radius: 50%. That is it. If the sides are not equal you will get an oval instead. For pill-shaped buttons where width varies, use a very large pixel value like 9999px.
What is the difference between px and % for border-radius?
Pixels give you a fixed curve size no matter the element dimensions. Percentages scale with the element — 50% always means "half the width (or height)," so the curve grows or shrinks as the element resizes. Use % for responsive designs and px when you want a consistent look across different-sized components.
What are elliptical border-radius values?
Normal border-radius creates quarter-circle curves. Elliptical values use a slash to set different horizontal and vertical radii — for example border-radius: 50px / 30px. The first set controls how wide the curve is, the second controls how tall. This produces oval-shaped corners and is how you get those organic, blob-like shapes.
Do I need the -webkit- prefix for border-radius in 2025?
Almost certainly not. Chrome, Safari, Firefox, and Edge have supported unprefixed border-radius since around 2012. The only edge case is pre-Android 4.4 WebViews or very old iOS Safari. If your analytics show zero traffic from those platforms, skip the prefix entirely — it just adds dead CSS.