--- title: stroke-dashoffset slug: Web/SVG/Attribute/stroke-dashoffset tags: - Animação SVG - Atributo SVG - SVG translation_of: Web/SVG/Attribute/stroke-dashoffset ---
« SVG Attribute reference home
O atributo stroke-dashoffset especifica a distância entre o inicio traço e o fim.
Se a <percentage> for usada, o valor representará a porcentagem do viewport atual.
O valor pode ser negativo.
| Categorias | Atributo de Apresentação |
|---|---|
| Value | <percentage> | <length> | inherit |
| Valor inicial | 0 |
| Animação | Sim |
| Documento Normativo | SVG 1.1 (2nd Edition) |
Os seguintes elementos podem utilizar o atributo stroke-dashoffset