- object.svg
- style.css
SVG
<svg width="300" height="300">
<circle class="shape-stroke" r="50" cx="50%" cy="50%"></circle>
</svg>
CSS
svg {
border: 1px solid #dddddd;
}
.shape-stroke {
fill: gold;
stroke: darkorange;
}
You’ve gone to a different page
Goalscompleted
0
- Assign the shape
.shape-strokea stroke width of10and thestroke-dasharrayproperty a value of10. - Change the value of
stroke-dasharrayto20. - Change the value of the stroke width to
50, - and then change it to
100.
Comments