Stretch SVG Background Images

Aug 13, 2018 12:31 · 39 words · 1 minute read

The next time I’m going mad when trying to stretch a SVG background image using background-size I’ll remember adding preserveAspectRatio="none" to the SVG itself. Otherwise it’s gonna stick to its original aspect ratio like its life depends on it.