+ 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

28th Aug 2019, 1:15 PM
Mr.Fish
Mr.Fish - avatar
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
28th Aug 2019, 2:57 PM
Gordon
Gordon - avatar