You can try removing the width
and height
attributes on the svg root element, adding preserveAspectRatio="none" viewBox="0 0 1024 800"
instead. It makes a difference in Opera at least, assuming you wanted the svg to stretch to fill the entire region defined by the CSS styles.
↧
Answer by Erik Dahlström for Using SVG as background image
↧