I have a SVG element with viewBox="0 0 100 100"
and preserveAspectRatio="none"
resizes automatically with the window size.
However I'm trying to have a fixed-size and perfect circle inside it. Seems like the outermost <svg>
element does not allow this. Any ideas?
<svg width="100%" height="50%" viewBox="0 0 100 100"
preserveAspectRatio="none">
<!-- ... OTHER SVG ELEMENTS I HAVE -->
<circle cx="50" cy="50" r="10px" fill="red"></circle>
</svg>