Unknown at rule @containercss(unknownAtRules) Unknown property: 'container-type'css(unknownProperties) Unknown property: 'container-name'css(unknownProperties)
Asked
Active
Viewed 1,507 times
3
-
@container is still not fully supported in all browsers...so that may be the main reason. Also: https://github.com/microsoft/vscode/issues/170589 – disinfor Apr 10 '23 at 19:37
-
If you want, you can install and use stylelint as the default validator and formatter for css and sass and then VS code will support these new features. It's a work-around while VS code updates their formatter. But you may find you like it better since stylelint has useful plugins like stylelint-config-idiomatic-order and stylelint-config-standard-scss – mrbinky3000 Jun 23 '23 at 17:15
-
Does this answer your question? [Container-type property and @container rule are not recognized by VS Code?](https://stackoverflow.com/questions/76125833/container-type-property-and-container-rule-are-not-recognized-by-vs-code) – pa4080 Aug 15 '23 at 09:07
1 Answers
-4
If you use @container with the extension .scss visual won't show the warning
-
It does show the warning for me. Maybe that's because I'm editing .scss file that's inside Angular application? – izogfif Aug 23 '23 at 11:17