CSS Border Radius Generator
Generate border-radius with visual preview.Runs in this tab.⌘ ↵ runs it
border-radius: 20px 20px 20px 20px;
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout CSS Border Radius Generator
Free online CSS border-radius generator. Set individual corner radii with a visual preview and copy the CSS code. It runs in your browser. Nothing is sent to a server.
Questions
Can I set different radii for each corner?
Yes, you can independently control the top-left, top-right, bottom-right, and bottom-left border radii.
What units does the border-radius use?
The generator uses pixel (px) values, and you can also toggle percentage (%) mode for elliptical shapes.
How do I make a circle with border-radius?
Set border-radius to 50% on a square element. The generator can produce this value, and the live preview shows the resulting shape instantly.
Can I create a pill shape with border-radius?
Yes, set a large border-radius value (e.g., 9999px) on a rectangular element. The corners will round fully, creating the classic pill or capsule shape used for buttons and tags.
Comments
More in CSS & Design
- Color Converter
- CSS Gradient Generator
- Box Shadow Generator
- PX to REM Converter
- Color Palette Generator
- Color Contrast Checker
- Tailwind Color Picker
- CSS Animation Generator
Comments