fromScottjehl
1 week agoEnhancing Web Components Safely with Self-Destructing CSS | Scott Jehl, Web Designer/Developer
As CSS patterns go these days this one is delightfully low-tech, but in my work I've seen it have an outsized impact in ensuring usable experiences for increasingly-heavy websites when network or device conditions aren't ideal. This notion of delivering "optimistically" while planning for failure is something I've written about before, but the set-it-and-forget-it nature of this latest stab at it makes it my favorite yet.
JavaScript