Create perfect rounded corners and complex CSS border-radius values with live preview. Professional tool for web designers and developers.
Perfect for modern button designs and call-to-action elements.
Standard radius for card layouts, panels, and content containers.
Perfect circles for profile pictures and avatar images.
Modal headers and sheet interfaces with top-only radius.
Pill-shaped elements for tags, badges, and status indicators.
Smooth rounded progress bars and loading indicators.
Asymmetric bubbles for chat interfaces and messaging apps.
Unique shapes for creative designs and artistic elements.
Border radius is a CSS property that allows you to create rounded corners on elements. It's one of the most commonly used properties in modern web design for creating visually appealing interfaces.
/* Single value - all corners */ border-radius: 10px; /* Two values - horizontal/vertical */ border-radius: 10px 20px; /* Four values - top-left, top-right, bottom-right, bottom-left */ border-radius: 10px 15px 20px 5px; /* Percentage for responsive design */ border-radius: 50%; /* Perfect circle */
/* Individual corner properties */ border-top-left-radius: 10px; border-top-right-radius: 15px; border-bottom-right-radius: 20px; border-bottom-left-radius: 5px;
You can create elliptical corners by specifying both horizontal and vertical radius values:
/* Elliptical corners */ border-radius: 20px / 10px; /* 20px horizontal, 10px vertical */ /* Mixed elliptical corners */ border-radius: 10px 20px 30px 40px / 5px 10px 15px 20px;
Use percentage values for responsive rounded corners:
/* Responsive circle */ .circle { border-radius: 50%; width: 100px; height: 100px; } /* Responsive pill button */ .pill-button { border-radius: 25px; padding: 10px 20px; }
Border radius has excellent browser support. For older browsers, you might need vendor prefixes:
/* Legacy support */ -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
Combine border radius with other CSS properties for stunning effects:
/* Neumorphism effect */ .neumorphic { border-radius: 20px; background: #e0e5ec; box-shadow: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff; } /* Glassmorphism effect */ .glass { border-radius: 15px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); }
Animate border radius for interactive effects:
/* Smooth radius transition */ .button { border-radius: 5px; transition: border-radius 0.3s ease; } .button:hover { border-radius: 25px; }