Exploring Self-Hosting Static Assets
After coming across an article about the risks of using CDN's or external infrastructure for hosting static assets, I started considering self-hosting fonts and icons myself.
I know you can self-host fonts by downloading them and using the file path as a URL in your CSS. Similarly, you can create or download an SVG for an icon and use it as an HTML element.
Inquiry
However, I am curious to know if it is possible to use a self-hosted SVG in a CSS pseudo-element like in the content property :before and :after. This is similar to how Font Awesome allows mentioning content code for their icons.
My goal is to reuse the same SVG in multiple CSS classes.