Menu

Creating a Maintainable Icon System with Sass

August 28th, 2019

One of my favorite ways of adding icons to a site is by including them as data URL background images to pseudo-elements (e.g. ::after) in my CSS. This technique offers several advantages: They don’t require any additional HTTP requests other than the CSS file. Using the background-size property, you can set your pseudo-element to any…