property

Corner block start shape — CSS reference

Sets two corner curves along the block-start edge. Supply one value to repeat it or two in inline-start then inline-end order. The example cuts the first corner diagonally and scoops the second inward; the other two retain ordinary rounding. Its physical location follows writing-mode and direction; horizontal left-to-right text is used here. 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-block-start-shape: bevel scoop;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>corner-block-start-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-block-start-shape:bevel scoop}</style><body><div id="a" role="img" aria-label="Red box with shaped corners"></div></body></html>
CSS Reference