srcset, revisited
The exact bug I wrote about in 2018, on a site built last year, by a competent team, with a modern pipeline. Which tells you which parts of this got fixed in eight years.
6 posts filed under Responsive, newest first.
The exact bug I wrote about in 2018, on a site built last year, by a competent team, with a modern pipeline. Which tells you which parts of this got fixed in eight years.
Firefox shipped these two weeks ago, which means all three engines now have the thing everyone has been asking for since about 2013, and the headline everyone's using for it is not quite right.
The browser has to pick an image before it knows how big that image will be on the page, so it guesses, and `sizes` is the attribute where you tell it what it's guessing about.
Separate "m." sites were a reasonable answer to a 2010 problem, but what finally killed them wasn't technical. It was Google changing what shows up in search.
Flexbox has crossed the line where I can use it on real work, and the surprise isn't the layouts it enables. It's how much of my CSS turns out to have been compensation for not having it.
Device breakpoints go stale the moment a new phone comes out. We can do better than yet another list of numbers.