Blog posts from 2018
-
Custom properties for breakpoint debugging
Yesterday, I stumbled across Eric Meyer’s post on displaying CSS breakpoint information with generated content. It reminded me of a solution to a related problem that Jeremy Keith blogged about way back in 2012 – how to conditionally load content (via JavaScript) when a certain breakpoint is active. I realized that the technique could be improved using custom properties.
Read the whole post "Custom properties for breakpoint debugging"
-
Progressive Web Apps behind Basic Auth
When adding a service worker and Web App Manifest to a staging site recently, I ran into some small issues with HTTP Basic Auth. Here's how I solved them.
Read the whole post "Progressive Web Apps behind Basic Auth"
-
Smart borders between flex items – the dumb way
How to emulate a direction-independent border inbetween two flex-items, regardless of whether they wrap or not. Caution: it's the dumb.
Read the whole post "Smart borders between flex items – the dumb way"