Embedding SVG in CSS as Data URIs
A stylesheet can carry its own images. Encode an SVG as a data URI, wrap it in url(), and the icon, pattern, or bullet arrives with the CSS itself, no extra request, no asset pipeline. It's an old technique that modern URL-encoding made practical again, producing output small enough and readable enough to live comfortably in source control. This article covers how the encoding works, a worked example you can paste, when an external file still wins, and the mistakes that leave you staring at a blank background.