Custom properties doesn't work in CSS url() functions because without quotes the parser treats the entire declaration as a url-token.
Topic: CSS โ Page 6
All major browsers replaced
:focuswith:focus-visibleand this makes custom outline code redundant.Use
:nth-last-child()to build a "quantity query" and selector elements only if there's a given number of them.Learn how to select a previous sibling using CSS
:has().A look at the current state of modern web development showing that more technology and code don't lead to a better end user experience.