Design custom border radius with a visual editor and copy the CSS.
Live preview
Changing one corner updates all four
Shorthand
border-radius: 12px;Individual Properties
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
border-bottom-left-radius: 12px;The border-radius shorthand accepts one to four values. One value applies equally to all corners. Two values set top-left/bottom-right and top-right/bottom-left. Three values set top-left, top-right/bottom-left, and bottom-right. Four values apply clockwise starting from top-left. This intelligent shorthand reduces code size while maintaining full control over each corner.
For maximum clarity and when you need to transition individual corners independently, use the four individual properties: border-top-left-radius, border-top-right-radius, border-bottom-right-radius, and border-bottom-left-radius. Each accepts one or two values (for elliptical radii). These are especially useful in animation keyframes and when you need to override a single corner from a shorthand.
Each corner radius can accept two values separated by a forward slash (e.g., 20px / 10px). The first value is the horizontal radius and the second is the vertical radius. This creates elliptical rather than circular corners, enabling organic, non-uniform shapes. When using percentages, the horizontal radius is relative to the element's width and the vertical radius is relative to its height.
Pixel values create fixed-radius corners that don't change with element size. Percentage values scale with the element's dimensions — 50% on a square creates a perfect circle, while on a rectangle it creates an ellipse. Percentages are ideal for responsive components where elements may resize. Pixels are better for design system tokens where you want consistent corner rounding regardless of element size.
Round the corners of content cards, panels, and containers for a modern, approachable feel that softens the visual hierarchy.
Create pill-shaped buttons with 9999px radius for primary actions, and subtly rounded buttons with 6-8px for secondary actions.
Apply 50% border-radius to square images for perfectly circular profile pictures and user avatars.
Use consistent corner rounding (12-16px) on modal dialogs and popovers for a polished, professional appearance.
Add subtle 6-8px border-radius to text inputs, textareas, and select elements for a cohesive form design.
Create pill-shaped notification indicators with full border-radius for a clean, compact badge design.
Combine different per-corner values to create organic shapes like blobs, leaves, and tickets for decorative elements.
Establish a consistent radius scale (e.g., sm: 4px, md: 8px, lg: 12px, xl: 16px, full: 9999px) for your entire design system.
Design box shadows with a visual editor and copy the CSS.
Create beautiful CSS gradients with a visual editor.
Convert colors between HEX, RGB, HSL, and more formats.
Generate responsive CSS clamp() values for fluid typography and sizing.

Founder & Developer of FreeKit
I personally designed and built every tool on this website — including the one you just used. If these tools have been helpful, I can build custom tools, automation workflows, websites, and SEO solutions tailored to your business.
Remote: Available Now
United States & European company
USD $25/hour or USD $1,500/month
On-site: Open to Relocation
With work visa & travel support