css.properties

stroke-size

The stroke-size property specifies the size of strokes.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

stroke-size = <bg-size># <bg-size> = [ <length-percentage [0,โˆž]> | auto ]{1,2} | cover | contain

See specification

JavaScript Access

// Access via element.style element.style.strokeSize = "auto";

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties