property
Corner end end shape — CSS reference
Changes only the intersection of the block-end and inline-end edges. In this example the rounded corner becomes a straight diagonal between the radius endpoints; the other corners remain rounded. 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-end-end-shape: bevel;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>corner-end-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-end-end-shape:bevel}</style><body><div id="a" role="img" aria-label="Red box with shaped corners"></div></body></html>