J Scott Smith

Tags

Tagged with:

Articles - August 21st, 2014

Creating a responsive SVG with no aspect ratio

Recently, I was attempting to use an SVG as a background image that I had intended to fill background completely, even if it meant stretching and changing the aspect ratio of the SVG. Turned out that was trickier than I'd anticipated, and I had to figure out which attributes needed to be changed in my SVG to make it happen. So, if you ever need an SVG to scale non-uniformly, here's how.

Read Article

All Tags