KEMBAR78
[css] Cascade layers: Support layer() function in @import · Issue #147354 · microsoft/vscode · GitHub
Skip to content

[css] Cascade layers: Support layer() function in @import #147354

@BenjaminAster

Description

@BenjaminAster

With the new CSS cascade layers, it is possible to import a CSS file and directly specify the layer in the @import statement (see specification):

@import url("./foo.css") layer(foo);

However, VSCode shows a syntax error when using this syntax in a CSS file. Cascade layers are supported in all three modern browsers now, so it would be great if VSCode would be updated to recognize this new syntax.

Metadata

Metadata

Assignees

Labels

css-less-scssIssues and items concerning CSS,Less,SCSS stylingfeature-requestRequest for new features or functionalityon-testplan

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions