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 | 86.0 | 86.0 | 68.0 | 11.1 | Not supported |
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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.