CSS ::marker Selector
More "Try it Yourself" examples below.
Definition and Usage
The ::marker
selector selects the marker of a list item.
This selector works on any element set to display:list-item.
Version: | CSS3 |
---|
Browser Support
The numbers in the table specifies the first browser version that fully supports the selector.
Selector | |||||
---|---|---|---|---|---|
::marker | 80.0 | 80.0 | 72.0 | 13.1 | 67.0 |
CSS Syntax
::marker {
css declarations;
}
More Examples
Example
Style the markers of list items:
::marker {
color: red;
font-size: 23px;
}
Try it Yourself »
Related Pages
CSS tutorial: CSS Pseudo-elements