css.properties

stroke-dasharray

The stroke-dasharray property specifies the pattern of dashes in SVG strokes.

Formal Syntax

stroke-dasharray = none | [<length-percentage> | <number>]+# <length-percentage> = [ <length> | <percentage> ]

See specification

JavaScript Access

// Access via element.style element.style.strokeDasharray = "none";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
stroke-dasharray11.54โ‰ค15
none11.54โ‰ค15

Related Properties