Skip to content

Commit 496e5c0

Browse files
yisiblsvgeesus
authored andcommitted
[css-cascade-5] fix example syntax error for @import layer;
The `<<layer-name>>` in the `layer()` function in the `@import` syntax cannot be omitted. ``` @import [ <<url>> | <<string>> ] [ layer | layer(<<layer-name>>) ]? <<import-condition>> ; ``` This means that the following example is wrong, `()` should be removed. ```css @import url("override.css") layer(); ```
1 parent b8a7973 commit 496e5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-cascade-5/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
177177

178178
<pre>
179179
@import url("tabs.css") layer(framework.component);
180-
@import url("override.css") layer();
180+
@import url("override.css") layer;
181181
</pre>
182182
</div>
183183

0 commit comments

Comments
 (0)