История изменений
Исправление
RazrFalcon,
(текущая версия)
:
https://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
If specified, an additional transformation is applied to all descendants of the given element to achieve the specified effect.
<svg width="10cm" height="10cm" viewBox="0 0 20 10" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="50%" cy="50%" r="50%"/>
</svg>
И никаких пикселей.
Исходная версия
RazrFalcon,
:
https://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
If specified, an additional transformation is applied to all descendants of the given element to achieve the specified effect.
<svg width="10cm" height="10cm" viewBox="0 0 20 10" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="50%" cy="50%" r="50%"/>
</svg>
И никаких пикселей.