CSS Border Radius Generator — Visual Builder
Create perfectly rounded corners with independent control over each corner. Generate CSS border-radius with visual preview and copy.
border-radius: 20px;You're on 7BusyBoss — 300+ free tools that run instantly in your browser. No signup, nothing uploaded.
Independent Corner Control Without Guessing
Slide each corner from 0 to 150px and watch the preview update instantly. Toggle "Link all corners" to sync all four when symmetry is the goal. Copy semantic CSS: border-radius: 20px 15px 10px 5px; or the shorter form when all corners match. No filler, no generated garbage—just usable output.
The Hidden Superpower: Slash Syntax and Elliptical Corners
border-radius can take eight values, not four. The syntax border-radius: 30px 10px / 10px 30px; has a slash separating horizontal radii from vertical radii, making each corner elliptical instead of a simple quarter-circle. This creates leaf shapes, squircles, and pill-button effects. This tool controls circular corners only; for the slash syntax or complex curves, hand-edit the CSS output or reach for the clip-path generator for path-based shapes.
Pixels vs Percentages: When Each Belongs
This tool emits pixels: border-radius: 20px stays exactly 20px across all screen sizes. CSS also accepts percentages—border-radius: 50% makes a square into a circle, but applies the same percentage to a 200×100 rectangle and you get an ellipse instead. The radius scales with the element's own dimensions. Use pixels for consistent, fixed curves; use percentages when the radius should always be proportional to the box. Most design systems use both depending on context.
Radii Shrink When They Don't Fit—And overflow: hidden Clips Content
Set border-radius: 100px 100px 50px 50px; on a 60px-wide element and the browser scales all radii down so adjacent corners don't overlap—the curve silently shrinks. Also remember: rounded borders clip the visual edge, but content flows to the original rectangle. To clip child elements to the curve, set overflow: hidden on the container. The CSS box-shadow generator pairs well for effects that respect rounded corners.
How to use the CSS Border Radius Generator
Takes about a minute. No signup, no download, your data stays in your browser.
- 1Open the tool. Scroll up to the CSS Border Radius Generator above — it loads instantly in your browser, no install needed.
- 2Enter your values. The fields come pre-filled with realistic defaults so you can see how it works — replace them with your own numbers.
- 3Read the result. The output updates instantly. Copy or share it — nothing is uploaded to a server, everything stays on your device.
Frequently asked questions
Common questions about the CSS Border Radius Generator.
How do I make a circle with border-radius?
For a perfect circle, set border-radius to 50% on a square element. If using pixels, make the radius at least half the element width and height—a 100×100 box needs border-radius: 50px or higher. The browser will shrink larger values to fit, so 9999px also works.
What does the slash mean in border-radius?
The slash separates horizontal radii from vertical radii. border-radius: 30px 10px / 15px 20px means horizontal radii are 30px and 10px per corner while vertical are 15px and 20px. This creates elliptical, not circular, corners. Most tools show only the four-corner form; the slash syntax requires hand-editing.
Should I use pixels or percentages for border-radius?
Use pixels for a fixed, consistent curve across all layouts. Use percentages when the radius should scale proportionally—50% on a 100×100 square is a circle, but on a 200×100 rectangle it is an ellipse. Most design systems use pixels on components and percentages on responsive containers.
Why isn't my border-radius showing up?
Check that overflow: hidden is set if child content is leaking past the curve. Also verify the element width and height—border-radius shrinks automatically if the sum of two adjacent radii exceeds the side length. Test on your target device; desktop previews sometimes hide scaling surprises.
Community rating
Discussion (0)
No comments yet. Start the discussion.
Keep exploring
Related tools across 7BusyBoss — all free, all instant.
More in Design Generators
- Gradient Text Generator
- CSS Animation Generator
- Glassmorphism Generator
- CSS Flexbox Generator
- CSS Text Shadow Generator
- CSS Button Generator
- Neumorphism Generator
- QR Code Reader