- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Fri, 12 Feb 2021 23:24:08 +0000
- To: public-css-archive@w3.org
To clarify, neither approach uses a selector _to target the container_. Both of these would select a `.card` for conditional styling, and the container remains implicit/contextual: ```css @container (width > 40em) { .card { ... } } .card:container(width > 40em) { ... } ``` Maybe they still have different shadow-DOM implications under the hood? -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5984#issuecomment-778510209 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 February 2021 23:24:10 UTC