How to NOT scale an image in SVG

后端 未结 1 496
小蘑菇
小蘑菇 2021-01-26 22:30

So I have an image in SVG as follows:



        
1条回答
  •  清酒与你
    2021-01-26 23:23

    Specify the image's original size using "px" units: width="150px" height="100px" or whatever it ought to be.

    If you omit width and/or height entirely, it defaults to zero and the image is not rendered.

    0 讨论(0)
提交回复
热议问题