3 ms·
You can make SVGs responsive based on their raster size[0] using media queries. So there's no need for a grey soup when the icon is rastered at small dimensions
by giantrobot 4y ago
You can make SVGs responsive based on their raster size[0] using media queries. So there's no need for a grey soup when the icon is rastered at small dimensions.
[0] http://tympanus.net/codrops/2014/08/19/making-svgs-responsive-with-css/ http://tympanus.net/codrops/2014/08/19/making-svgs-responsiv...
- deadbeeves 4y agoThat's something the browser is doing, not something the SVG renderer is doing. Someone still has to make multiple versions of the same image with different levels of detail, and some software still needs to pick the right one for a given resolution.