property

Border block start radius — CSS reference

Experimental draft: Groups the radii of the two corners on this side, in order border-start-start-radius then border-start-end-radius. Values before the slash specify horizontal radii; values after it specify vertical radii. One value per axis is repeated. Explicit corner longhands are the fallback; the example uses horizontal-tb, rtl and maps to border-top-right-radius and border-top-left-radius.

Formal Syntax & Structure

css syntaxcss
border-block-start-radius: 12px 24px / 8px 16px;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>border-block-start-radius</title><style>body{margin:0;background:white}#a{box-sizing:border-box;width:120px;height:80px}#a{background:rgb(37,99,235);writing-mode:horizontal-tb;direction:rtl;border-start-start-radius:12px 8px;border-start-end-radius:24px 16px;border-block-start-radius:12px 24px / 8px 16px}</style><body><div id="a" aria-label="Decorative example"></div></body></html>
CSS Reference