property

Stroke linejoin — CSS reference

Controls how strokes meet at corners. Bevel cuts off the outer corner; round curves it and miter extends the edges subject to the miter limit.

Formal Syntax & Structure

css syntaxcss
stroke-linejoin: bevel;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>stroke-linejoin</title><style>body{margin:0;background:white}svg{display:block}#a{stroke-linejoin:bevel}</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