- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Apr 2021 20:47:27 +0000
- To: public-css-archive@w3.org
I am wondering what you want to achieve. Selecting an element that is a container isn't different from one that is not a container. Taking your example you'd just write this to select the first element with the class `card`: ``` js .querySelector('.card'); ``` I guess what you actually want is an API like `Window.matchMedia()` but for containers. This is already covered by #6205. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6215#issuecomment-820720296 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 April 2021 20:47:29 UTC