CSS · Properties — Scalable Vector Graphics

stroke-dasharray

The CSS stroke-dasharray property. Initial value: none. Inherited.

Syntax
stroke-dasharray: none | <dasharray>

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsShapes. Computed value: listEachItemConsistingOfAbsoluteLengthPercentageOrKeyword.

More in this group

cx cy d fill fill-opacity fill-rule marker-end marker-mid

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course