Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> </head> <body> <h2>Пример свойства stroke-dashoffset</h2> <svg viewBox="-3 0 33 10" > <line x1="0" y1="1" x2="30" y2="1" stroke="#1c87c9" /> <line x1="0" y1="3" x2="30" y2="3" stroke="#ccc" stroke-dasharray="4 1" /> <line x1="0" y1="5" x2="30" y2="5" stroke="#8ebf42" stroke-dasharray="3 1" stroke-dashoffset="3" /> <line x1="0" y1="7" x2="30" y2="7" stroke="#FF0000" stroke-dasharray="3 1" stroke-dashoffset="-3" /> <line x1="0" y1="9" x2="30" y2="9" stroke="#666" stroke-dasharray="3 1" stroke-dashoffset="1" /> <path d="M0,5 h-3 M0,7 h3 M0,9 h-1" stroke="#000"/> </svg> </body> </html>