Remember this old trick that allowed us to load only critical CSS and defer the rest? The one, that used media="print"
and onload
event. I just realized that sometimes it doesn’t work in Safari.
Articles
8 RSSRecently Sacha Greif challenged his Twitter followers to code a fancy highlighter effect using only CSS. Guess what? I took the bait and started coding!
When building websites on Eleventy, we often have to decide how to deal with the CSS and JavaScript post-processing. Recently I came up with a solution, finally making CSS and JS first-class citizens in Eleventy for me.
Your website might be ready to adapt to any viewport. But why should users wait for irrelevant desktop styles when they load it on mobile?
It’s time to revisit the old SVG sprites trick and dig out a few alternative methods from the SVG spec and Internet archives.
You probably won’t ever need eleven ways of making columns, but you might learn something new while figuring them out.