Skip to content

Commit

Permalink
[fr] Adds double-quotes around layer name for @import
Browse files Browse the repository at this point in the history
It appears that without double-quotes around the layer name, current modern browsers won't respect the last layer priority if it implies a "!important" inside the first imported layer.
  • Loading branch information
jmpp authored Dec 2, 2023
1 parent 18570af commit 1fe0635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/fr/web/css/@layer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Une autre façon pour créer une couche de cascade consiste à utiliser [`@impor
> **Attention :** La règle @ `@import` doit précéder tous les autres types de règles, à l'exception des règles `@charset`.

```css
@import "theme.css" layer(utilities);
@import "theme.css" layer("utilities");
```

### Couches imbriquées
Expand Down

0 comments on commit 1fe0635

Please sign in to comment.