SVG scaling

Note to self

For the <svg> tag the scaling attributes mean:

width – Display width

height – Display height

viewBox – “x, y, width, height”

viewBox x – X offset inside image

viewBox y – Y offset inside image

viewBox width – Pixel range from X inside image

viewBox height – Pixel range from Y inside image

Related stuff

Leave a Reply

Your email address will not be published. Required fields are marked *