- From: Mayank via GitHub <sysbot+gh@w3.org>
- Date: Sat, 16 Mar 2024 18:45:17 +0000
- To: public-css-archive@w3.org
I think a scope _statement_ would be useful too? It would be similar to a layer statement.
Create a named scope using a scope statement:
```css
@scope foo (.start) to (.end);
```
Then use it without specifying `<scope-start>`/`<scope-end>`:
```css
@scope foo {
p { color: red; }
}
```
--
GitHub Notification of comment by mayank99
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9742#issuecomment-2002084564 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 16 March 2024 18:45:18 UTC