4 ms·
A few years back I updated my site[1] so all of the UI graphics (e.g., logos, icons in the menus) are SVG sprites baked into the HTML. It resulted in a lot fewe
by DamnInteresting 1y ago
A few years back I updated my site[1] so all of the UI graphics (e.g., logos, icons in the menus) are SVG sprites baked into the HTML. It resulted in a lot fewer requests per page, lower overall page size, and sharp navigation on any device at any resolution. It works great, though it was a lot of initial work to get it working.
[1] https://www.damninteresting.com https://www.damninteresting.com
- e1gen-v 1y agoThe hamburger button animation is so buttery smooth
- ericmcer 1y agoits CSS
- popupeyecare 1y agoI love damninteresting. Thanks for keeping it going for the last two decades.
- DamnInteresting 1y agoThanks for the kind words! It is not at all profitable, but it gives me purpose, and scratches a particular intellectual itch. I wish I could afford to make it my full-time job and just write every day without worrying about day-job income, but alas, the universe currently desires otherwise.