+ 9
SVG: reduction and enlargement
Is it possible to reduce the size of an SVG when its surroundings are also reduced? Here is an example of the problem. https://code.sololearn.com/WtyLyd7Ew6Ft/?ref=app
1 Answer
+ 4
add a viewbox attribute to the svg element
https://code.sololearn.com/WSJ6G6h7xGIe/?ref=app
my video tutorial
https://youtu.be/NwhRS6VUwVU