SVG Viewbox



Β β€’Β 

2 months ago

Β β€’Β 

View on Twitter

SVG viewbox is surprisingly unintuitive but if you visualise it like this it starts to make sense:

Once you realise that changing the width/height of the viewbox actually changes the scale of the viewbox units, it starts to click.