blog

Out of context: Reply #70902

  • Started
  • Last post
  • 76,742 Responses
  • ********
    2

    I just spent three hours trying to figure out why I couldn't get an SVG to stretch to fit a CSS grid. All the top results I read are about people trying to avoid stretching the aspect ratio, I was trying to make it stretch.

    Did you know? SVG needs to be forced with
    preserveAspectRatio="none"! Geez.

    • force the fuckerzBennn
    • isn't set to none by default? preserveAspectRatio can do a lot more than just that.
      ********

View thread