property

border-top-left-radius — CSS reference

Sets the physical top left corner radius. One value defines both axes; two define horizontal then vertical. Percentages use border-box width and height. Initial zero; not inherited. Painting may reduce radii to prevent overlap.

Formal Syntax & Structure

css syntaxcss
<length-percentage [0,∞]>{1,2}

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-top-left-radius:18px 8px}</style><body><div id="a" class="sample">Sample</div></body></html>
CSS Reference