property
border-radius — CSS reference
Rounds corners. The slash separates horizontal and vertical radii. Percentages use corresponding border-box dimensions. Overlapping radii are proportionally reduced for painting without shrinking the layout rectangle. Initial zero; not inherited.
Formal Syntax & Structure
css syntaxcss
<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS box geometry lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{width:100px;height:60px;border-radius:10px 20px / 5px 15px}</style><body><div id="a" class="sample">Sample</div></body></html>