CSS | stroke-width Property
Last Updated :
18 Nov, 2019
The stroke-width property is used to set the width of a border in a SVG shape. This property can only be applied to elements that have a shape or are text content elements.
Syntax:
stroke-width: <length> | <percentage>
Property Values:
Supported Browsers: The browsers supported by stroke-width property are listed below:
- Chrome
- Firefox
- Safari
- Opera
- Internet Explorer 9
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...