css.properties

stroke-dashoffset

The stroke-dashoffset property specifies the offset of dashes in SVG strokes.

Formal Syntax

<length-percentage> | <number>

See specification

JavaScript Access

// Access via element.style
element.style.strokeDashoffset = '0';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
stroke-dashoffset11.54โ‰ค15

Related Properties