stroke-linejoin
Defines how the corners of an SVG path or shape should look when two lines meet. Options include sharp (miter), rounded (round), or flattened (bevel).
It is documented as part of the Scalable Vector Graphics specification.
Syntax
/* Usage Example */
polygon.star {
/* Smooths out the sharp corners where the star's lines meet */
stroke-linejoin: round;
}
/* Syntax */
stroke-linejoin: miter;
stroke-linejoin: miter-clip;
stroke-linejoin: round;
stroke-linejoin: bevel;
stroke-linejoin: arcs;
/* Global values */
stroke-linejoin: inherit;
stroke-linejoin: initial;
stroke-linejoin: revert;
stroke-linejoin: revert-layer;
stroke-linejoin: unset;
stroke-linejoin Browser support
Widely available
Since
2020 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
1+
1.5+
4+
15+