- object.svg
- style.css
SVG
<svg width="500" height="250">
<g id="colored-stripes">
<path fill="tomato" d="M0 0h20v140H0z"/>
<path fill="lightseagreen" d="M20 0h20v140H20z"/>
<path fill="gold" d="M40 0h20v140H40z"/>
<path fill="cornflowerblue" d="M60 0h20v140H60z"/>
<path fill="darkorange" d="M80 0h20v140H80z"/>
<path fill="yellowgreen" d="M100 0h20v140h-20z"/>
<path fill="purple" d="M120 0h20v140h-20z"/>
</g>
</svg>
CSS
svg {
background-color: #ffffff;
border: 1px solid #dddddd;
}
- Goal
- Result
- Overlay
- Differences
- ?
Press Compare to send your code for review.