- 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-stroke
a stroke width of10
and thestroke-dasharray
property a value of10
. - Change the value of
stroke-dasharray
to20
. - Change the value of the stroke width to
50
, - and then change it to
100
.
Comments