- From: Lucas Garcia via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Aug 2024 10:43:05 +0000
- To: public-css-archive@w3.org
Indeed, that looks pretty similar (btw, sorry about that I couldn't find it)!
About your `@element` use case where you wanna select elements that match your style querry + has the `.foo` class, you could also achieve the same result like this:
```css
@container style(--color: pink) {
:container.foo {
background-color: pink;
}
}
```
--
GitHub Notification of comment by LcsGa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10744#issuecomment-2293274670 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 August 2024 10:43:06 UTC