-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
60 lines (42 loc) · 1012 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: "::-moz-list-bullet"
slug: Web/CSS/::-moz-list-bullet
page-type: css-pseudo-element
status:
- non-standard
browser-compat: css.selectors.-moz-list-bullet
---
{{CSSRef}}{{Non-standard_header}}
The **`::-moz-list-bullet`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) is a [Mozilla extension](/en-US/docs/Web/CSS/Mozilla_Extensions) that represents the marker (typically a bullet) of a list item ({{htmlelement("li")}}) in an unordered list ({{htmlelement("ul")}}).
## Syntax
```css
li::-moz-list-bullet {
/* ... */
}
```
## Examples
### Styling list item markers
#### HTML
```html
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
```
#### CSS
```css
::-moz-list-bullet {
color: red;
font-size: 1.5em;
}
```
#### Result
{{ EmbedLiveSample('Styling list item markers') }}
## Specifications
Not part of any standard.
## Browser compatibility
{{Compat}}
## See also
- {{cssxref("::-moz-list-number")}}
- {{cssxref("::marker")}}