Typefully

SVG Viewbox

Avatar

Share

 • 

3 years ago

 • 

View on X

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.
Avatar

Dan Hollick

@DanHollick

design engineer @tailwindcss. writing a book about software at makingsoftware.com prev: @raycastapp