Quote:
Originally Posted by Jellby
Great, I was using an image but someone suggested wrapping it in SVG
According to the SVG specification, there should be no distortion in the images if preserveAspectRatio="xMidYMid meet" (which is the default).
PS. The inline "style" you suggested is said to be deprecated, or discouraged, or whatever...
|
Well if you are preserving aspect ratio, there's no need for SVG at all. As for inline style, use a class instead. I just used the style attribute for brevity.