CSS stroke-width property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS stroke-width property represents the width of the stroke.
Syntax
stroke-width : +ve length | percentage
Property values
percentage
-
It is same as 'scroll' but it provides vertical scrollbar only when the content overflows out of the box.
- Try it
stroke-width: 20%;
Applicable to
It applies to inline boxes and SVG shapes.