- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Tue, 22 Jul 2025 18:26:04 +0000
- To: public-css-archive@w3.org
I'd just phrase this as a selector match, like `if(selector(:hover): ...)`.
It's possible, sure, but it's pretty easy to just use nesting to achieve this, too:
```
button {
width: 44px;
&:hover { width: 30px; }
}
```
Is that sufficient?
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12504#issuecomment-3104252054 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 22 July 2025 18:26:05 UTC