Re: [csswg-drafts] [css-values] add "pseudo" test to if() (#12504)

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