property

Stroke miterlimit — CSS reference

Limits the miter length relative to stroke width for miter joins. A limit of one bevels this right-angle corner rather than creating a pointed miter.

Formal Syntax & Structure

css syntaxcss
stroke-miterlimit: 1;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>stroke-miterlimit</title><style>body{margin:0;background:white}svg{display:block}#a{stroke-miterlimit:1}#a{stroke-linejoin:miter}</style><body><svg xmlns="http://www.w3.org/2000/svg" width="240" height="160" viewBox="0 0 240 160" role="img" aria-label="SVG styling example"><path id="a" d="M40 120 V40 H140" fill="none" stroke="red" stroke-width="20"/></svg></body></html>
CSS Reference