- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Nov 2023 19:35:17 +0000
- To: public-css-archive@w3.org
`a:hover ~ b` can match any `b` which is a later sibling of some `a:hover`. It can be the 1st such thing, the last, or whatever. All will match. Then `a:hover ~ b ~ a` matches both your a2 and a3.
BTW, I think CSS Cascade 6 plans to allow something like
```css
@scope-siblings (a:hover) to (a) {
  b { background-color:yellow; }
}
```
-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9605#issuecomment-1815189051 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 November 2023 19:35:18 UTC