If you’re disciplined and make use of the inheritance that the CSS cascade provides, you’ll end up writing less CSS. But because our styles often comes from all kinds of sources — and can be a pain to structure and …
In this week’s round-up,
prefers-contrast lands in Safari, MathML gets some attention,
:is() is actually quite forgiving, more ADA-related lawsuits, inconsistent initial values for CSS Backgrounds properties can lead to unwanted — but sorta neat — patterns.…
Šime Vidas with the lowdown on what these pseudo-selectors are and why they will be useful:
:is()is to reduce repetition¹ of parts of comma-separated selectors.
:where()is the same, but nothing inside it affects specificity. The example of