Direct from my new shed we have news of Firefox 92, CSS Nesting, and custom media queries.
Hello and welcome to the first issue of CSS Layout News coming from my new office shed. I moved in over the weekend, and while I have some work to do to deal with the changing light conditions during online meetings, it's very nice to be out in the garden.
I also wanted to mention that I'll be speaking at State of the Browser, which is running online and in person. There are also diversity tickets available if the cost would prevent you from attending, apply for one here.
Firefox 92 is out with a bunch of CSS changes including the useful accent-color property. Also some additional support for fragmentation properties.
CSS Nesting FPWD
The CSS Nesting spec is now a First Public Working Draft (FPWD). I'm kind of ambivalent about this one, I think because I never used nesting in Sass either, but I know a lot of folk are really excited about it. It's always good to see things that people want moving through the process.
Can we have custom media queries please?
Speaking of things that people want, a call for browsers to implement custom media queries. There is a spec for the feature, but as yet, no browser has implemented it. If it would be useful for you, go star the Chromium issue to indicate your support.
As a side note, the reason MDN "doesn't know about" the feature is because of the lack of support. Typically MDN documents things that are usable in at least one browser, with CSS that has often included things behind a flag in order to encourage people to try them out. With no support at all, however, it's possibly more confusing than useful to document.
So this is HTML not CSS, this is a nice piece on marking things up using the
<dl> element, an element I used daily in writing docs but that perhaps could be more frequently used on non-documentation-based websites.
Color and universal design
A very detailed piece on color and accessibility, considering how the use of color fits into the design process.
CSS Layout News Newsletter
Join the newsletter to receive the latest updates in your inbox.