<svg viewBox="0 0 300 300" width="300" height="300">
<line x1="0" y1="0" x2="300" y2="300" stroke="red" stroke-width="3"/>
</svg>
body {
background: #ccc;
}
svg {
background: #fff;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.