css.properties

stroke-color

The stroke-color property specifies the color of SVG strokes.

Experimental โ€” This feature is experimental and may change

Formal Syntax

<color>#

See specification

JavaScript Access

// Access via element.style
element.style.strokeColor = 'transparent';

Browser Support

experimental, standard | Spec

FeatureChromeFirefoxSafariEdge
stroke-colorโ€”โ€”11.1โ€”
currentColorโ€”โ€”11.1โ€”
transparentโ€”โ€”11.1โ€”

Related Properties