property
Corner inline end shape — CSS reference
Sets two corner curves along the inline-end edge. Supply one value to repeat it or two in block-start then block-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-inline-end-shape: bevel scoop;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>corner-inline-end-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-inline-end-shape:bevel scoop}</style><body><div id="a" role="img" aria-label="Red box with shaped corners"></div></body></html>