+ 2
How to use viewBox inside the <symbol> tag?
3 Réponses
+ 7
Almat I am not sure if this will help but you could take a look at an example I wrote some time ago. See https://code.sololearn.com/WsCy78HbZoTx/?ref=app
+ 6
The format of viewbox is
viewbox="x, y, zy, zy"
Where
x, y is the offset from the origin point and
zx, zy is the zooming of the svg from original size, eg the size of svg is width 300, height 300; zx, zy is 150,150 would make the symbol double the size.
+ 4
Excellent!! Richard Miyat you surely guessed my thoughts on the question posed. This code seems to completely clarify issues with the <symbol viewBox> tag. I will study this immediately. thank you !! ☺️👍