CSS - ::marker

The ::marker CSS pseudo-element represents the marker box of a list item (e.g. the bullet point or item number).

Description  

The ::marker CSS pseudo-element represents the marker box of a list item (e.g. the bullet point or item number).

Only a small subset of CSS properties can be used in a rule using ::marker in its selector: color, text-combine-upright, and all font properties.

Browser Compatibility  

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

Specifications  

Specification Status Comment
CSS Pseudo-Elements Level 4
The definition of '::marker' in that specification.
Working Draft No significant change
CSS Lists and Counters Module Level 3
The definition of '::marker' in that specification.
Working Draft Initial definition

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/::marker