- From: Jakob Eriksen via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Apr 2022 16:00:35 +0000
- To: public-css-archive@w3.org
> Maybe this is a job for `@scope` instead? https://drafts.csswg.org/css-cascade-6/#scope-atrule
I'm thinking it more as a reference to the selector(s)
````CSS
.sidebar-left,
.sidebar-right {
container-name: sidebar
}
/*
Styling if nested inside .sidebar-left or .sidebar-right
*/
@container sidebar {
.component { color: tomato; }
}
````
--
GitHub Notification of comment by jakob-e
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7209#issuecomment-1099337813 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 April 2022 16:00:37 UTC