property

Corner left shape — CSS reference

Sets two corner curves along the physical left edge. Supply one value to repeat it or two in top then bottom order. The example cuts the first corner diagonally and scoops the second inward; the other two retain ordinary rounding. A nonzero border radius is needed to see the effect. Leave the radius declaration in place for browsers without corner shaping; the fallback is ordinary rounded corners, not an exact imitation.

Formal Syntax & Structure

css syntaxcss
corner-left-shape: bevel scoop;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>corner-left-shape</title><style>body{margin:0;background:white}#a{width:100px;height:100px;background:rgb(255,0,0);border-radius:30px;box-sizing:border-box}#a{corner-left-shape:bevel scoop}</style><body><div id="a" role="img" aria-label="Red box with shaped corners"></div></body></html>
CSS Reference