- object.svg
- style.css
SVG
<svg width="300" height="150">
<circle r="60" cx="75" cy="50%" fill="gold"></circle>
<circle class="shape-stroke" r="60" cx="225" cy="50%"></circle>
</svg>
CSS
svg {
border: 1px solid #dddddd;
}
.shape-stroke {
fill: lightseagreen;
}
You’ve gone to a different page
Goalscompleted
0
- Assign the first shape a stroke with the attribute
stroke = "darkorange"
. - Assign the second shape a stroke with the property
stroke: teal
using CSS.
Comments