Skip to content

Commit

Permalink
Update files/en-us/web/css/@layer/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Mills <[email protected]>
  • Loading branch information
OnkarRuikar and chrisdavidmills authored Jun 24, 2024
1 parent e79e4d7 commit 4e55422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/@layer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The following diagram shows layer priorities where layers are declared in 1, 2,

![Diagram showing cascade layer priorities](layer_cascade.png)

Here declaration order matters. First delcared layer gets lowest priority and the last layer gets highets priority. But priority is reversed when [`!important`](/en-US/docs/Web/CSS/important) flag is used.
The declaration order matters. The first declared layer gets the lowest priority and the last declared layer gets the highest priority. However, the priority is reversed when the [`!important`](/en-US/docs/Web/CSS/important) flag is used.

The `@layer` at-rule is used to create a cascade layer in one of three ways.

Expand Down

0 comments on commit 4e55422

Please sign in to comment.