Skip to content

Commit e006f2c

Browse files
authored
Fix typo (mdn#40855)
1 parent 4387588 commit e006f2c

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/css/_doublecolon_before

1 file changed

+1
-1
lines changed

files/en-us/web/css/_doublecolon_before/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ li[aria-current="step"]::before {
237237

238238
### `::before::marker` nested pseudo-elements
239239

240-
The `::before::marker` [nested pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements#nesting_pseudo-elements) selects the list {{CSSxRef("::marker")}} of an `::after` pseudo-element that is itself a list item, that is, it has its {{CSSxRef("display")}} property set to `list-item`.
240+
The `::before::marker` [nested pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements#nesting_pseudo-elements) selects the list {{CSSxRef("::marker")}} of a `::before` pseudo-element that is itself a list item, that is, it has its {{CSSxRef("display")}} property set to `list-item`.
241241

242242
In this demo, we generate extra [list items](/en-US/docs/Web/HTML/Reference/Elements/li) before and after a list navigation menu using `::before` and `::after` (setting them to `display: list-item` so they behave like list items). We then use `ul::before::marker` and `ul::after::marker` to give their list markers a different color.
243243

0 commit comments

Comments
 (0)