-
Just wrote this CSS selector to target a previous sibling, and I’m in disbelief that it works. :has is 🤯 .class-info:has(+ .more-info > button[aria-expanded=”true”]) .meta::after {}
-
@stop Technically, I could call this a nephew selector, since I’m targeting the child of a parent based on characteristics of that parent’s younger sibling.