3 ms·
>They are supported on just about every device and platform Except they aren't. I recently used a simple SVG in a background and Safari wasn't able to render i
by martijn_himself 10mo ago
>They are supported on just about every device and platform
Except they aren't. I recently used a simple SVG in a background and Safari wasn't able to render it properly so after trying lots of different things I gave up and used different sizes of raster images instead.
- SoKamil 10mo agoThey are also not supported on iOS native apps. We use pdfs for vectors.
- avsm 10mo agoWhat was the SVG that didn't work? In Jon's example in the original post, the SVG he embeds there was one he wrote in around 2005. That's a pretty impressive run for it to render 20 years on...
- stanac 10mo agoSVGs also are mostly unsupported for og:image tags (dependents on the app/browser). I know it's supper specific and I am not even sure if open graph is standardized protocol or not, but it's used everywhere.
- airstrike 10mo agoyeah, I was super disappointed to find that out when I built previews for https://hexrgb.pages.dev https://hexrgb.pages.dev
- deleted 10mo ago[deleted]