{"id":288473,"date":"2019-05-29T11:07:23","date_gmt":"2019-05-29T18:07:23","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=288473"},"modified":"2019-05-29T11:07:23","modified_gmt":"2019-05-29T18:07:23","slug":"stroke-linejoin","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/s\/stroke-linejoin\/","title":{"rendered":"stroke-linejoin"},"content":{"rendered":"

stroke-linejoin<\/code> is a CSS property that defines how SVG paths should appear at the point where two lines are joined together. stroke-linejoin<\/code> can be used to sharpen or soften the joints on connecting lines in an SVG.<\/p>\n

stroke-linejoin<\/code> is also an SVG attribute which can be overwritten using CSS.<\/p>\n

stroke-linejoin: miter;<\/code><\/pre>\n
\"Two
A miter joint<\/figcaption><\/figure>\n

stroke-linejoin<\/code> is just one of several properties affecting the rendering of two paths meeting. The final visual effect will depend on stroke-linejoin<\/code> as well as values for other SVG properties such as stroke-miterlimit<\/code> and stroke-align<\/code>.<\/p>\n

Syntax<\/h3>\n
stroke-linejoin: [ crop | arcs | miter ] || [ bevel | round | fallback ]<\/code><\/pre>\n

At the moment, browsers seem to support only a single value for stroke-linejoin<\/code>. However, according to the W3C Working Draft of the CSS Fill and Stroke Module<\/a>, there are ideas of combining two values (one from crop | arcs | miter<\/code> and one from bevel | round<\/code>) to create a combination of effects for stroke-linejoin<\/code>.<\/p>\n

Values<\/h3>\n

stroke-linejoin<\/code> accepts the following values:<\/p>\n