Answer the question
In order to leave comments, you need to log in
How to edit the size of an SVG?
An SVG file was inserted https://codepen.io/anon/pen/aQzVJK?editors=1100 with a size of 250 x 312
Changed the values in the viewBox, width, height, style to 40 and everything stopped displaying https://codepen.io/anon /pen/MzYOmv?editors=1100
What should I do to reduce it?
Answer the question
In order to leave comments, you need to log in
This black square lies at coordinates 0 0 and has a size of 40x40
When you changed the size of the viewbox to 40x40, it seemed to you that everything was gone, but in fact your figure lies to the right and lower.
On a good note, you need to honor what a viewBox is, what it is for, and how it works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question