Skip to content

Commit

Permalink
Clarify no pseudos in :is() (mdn#25517)
Browse files Browse the repository at this point in the history
  • Loading branch information
estelle authored Mar 21, 2023
1 parent a0bc343 commit 228ed8d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions files/en-us/web/css/_colon_is/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@ some-element:is(::before, ::after) {
}
```

or this:

```css example-bad
:is(some-element::before, some-element::after) {
display: block;
}
```

instead do:

```css example-good
Expand Down

0 comments on commit 228ed8d

Please sign in to comment.