0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>SVG content may not only be stretched, but also moved left-right or up-down. To do this, you need to specify the position of the content relative to the X and Y axes, such as, for example, using xMinYMid:</p>
1
<p>SVG content may not only be stretched, but also moved left-right or up-down. To do this, you need to specify the position of the content relative to the X and Y axes, such as, for example, using xMinYMid:</p>
2
<svg viewBox="0 0 237 300" preserveAspectRatio="xMinYMid"> … </svg><p>Possible values for each axis:</p>
2
<svg viewBox="0 0 237 300" preserveAspectRatio="xMinYMid"> … </svg><p>Possible values for each axis:</p>
3
<p>The position is set using two parameters: the first is always used to specify the X-axis position, and the second is used to specify the Y-axis position. The Y-axis position is always written with a capital letter. Both parameters are required.</p>
3
<p>The position is set using two parameters: the first is always used to specify the X-axis position, and the second is used to specify the Y-axis position. The Y-axis position is always written with a capital letter. Both parameters are required.</p>
4
<p>The default value is xMidYMid (content is aligned in the middle of the larger side).</p>
4
<p>The default value is xMidYMid (content is aligned in the middle of the larger side).</p>