Hi. I'm Matt James, a front-end engineer, teacher and family man.
Latest
ArchiveDead simple dark mode with css custom properties
There's a lot of snark on various social channels any time a platform adds dark mode to their UI. To me, it's a decision based totally on the user and I think its great any time people get more control in their digital experiences. So, with that spirit in mind, let's look at potentially the most straightforward approach to applying theming based on device preference setting.
Getting Started With Container Queries
For as long as I’ve been working full-time on the front-end, I’ve heard about the promise of container queries and their potential to solve the majority of our responsive web design needs. And, for as long as I’ve been working on the front-end, there has been a running joke that we’d never actually get them coupled with a fair amount of anguish over their absence from our front-end toolbox.
2020... amirite?
This year, as virtually everyone on the globe experienced, was a rough one. From a raging pandemic infecting and killing millions of people, handled inexcusably poorly by the federal government, to months of unrest over the continued killing of unarmed people of color at the hands of the police, to an interminable election cycle culminating in an ongoing attempted overthrow of our democracy, 2020 kept piling it on until the end. But, we've all lived that shared experience and while it is far more important than anything I'll write here, I'm going to share a wrap up of my personal year.