Links
CSS Code Smells
In an effort to define what that is I've been thinking a lot lately about how we can identify what bad CSS is first. In other areas of programming, developers tend to talk of code smells when they describe bad code; hints in a program that identify that, hey, maybe this thing you've written isn't a good idea. It could be something simple like a naming convention or a particularly fragile bit of code.
Using CSS Grid: Supporting Browsers Without Grid
In this article, I explore approaches to dealing with browser support today. What are the practical things we can do to allow us to use new CSS now and still give a great experience to the browsers that don’t support it?
CSS Environment variables; how to deal with the software bezel of iPhone X
Apple have borrowed an idea from broadcast TV. In TV land there has long been the notion of a ‘Title Safe’ area. This is an area inset within the main part of the screen inside which titles are set. Keeping them in this area means that titles wouldn’t be clipped when TV/Film had the aspect ratio changed or broadcasters for whatever reason needed to change the dimensions of the origin source. Apple has taken this basic principle and renamed it ‘Safe Area’ for their purposes.
Is text sizing dead?
First, let’s bust a couple of myths. Myth 1: Pixels units for text are bad for accessibility. Myth 2: Don’t use pixels in media queries.
ARIA is Spackle, Not Rebar
In this post, I'm going to address WAI-ARIA, and how misusing it can do more harm than good.