Container query not working in VS Code?

Hi! Why am I getting the yellow line underneath container-type in the css file in VS Code?
8 Replies
Å Marlon G
Å Marlon G2y ago
Does this mean I can't use it?
MarkBoots
MarkBoots2y ago
it means vs code is not familiar with it yet. It is a relative new property (for now only in chromium browsers)
Å Marlon G
Å Marlon G2y ago
Is firefox a chromium browser as well? https://caniuse.com/?search=container-type
MarkBoots
MarkBoots2y ago
no, chrome and edge are. Firefox is expected from version 111 (current 109) Safari I see has it in the latest version as well
Å Marlon G
Å Marlon G2y ago
Aha, so that's what that not very accessibility friendly box around the third row means - current browser! So how do I get to use it then? Because VS Code doesn't understand it ... Codepen in chrome?
MarkBoots
MarkBoots2y ago
you can still do it in vscode, you only get that line underneath. just open it in a chrome browser, it will still work
Å Marlon G
Å Marlon G2y ago
Ah, ok. Thanx! 🙌
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server