How to use same svg with different sizes?
PabloCastellano opened this issue · comments
Hi.
I need to show the same inline svg with different sizes.
What I normally do is opening the svg file with and adding width="XXX"
to the svg tag. So now I have a svg file duplicated with different sizes and I don't like this solution. What is the easiest way to achieve this?
Hiya. Normally I would use CSS to resize the SVG instead of having the dimensions hard-coded in the SVG itself.