Re: [csswg-drafts] [selectors] Parameterized selectors (#10567)

> use case is keeping long selectors DRY

Aren't custom selectors a better proposal for that?

```css
@custom-selector :--on-interaction :is(:hover,:focus-visible,[data-focus-visible]):not(disabled,[aria-disabled],[data-disabled]);

.button:--on-interaction { color: green; }
```

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10567#issuecomment-2228582242 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 15 July 2024 14:02:10 UTC