pseudo-element
::marker — CSS reference
Targets the marker box generated by a list item. It accepts a limited set of properties including color, font properties and content; ordinary box sizing or margins are not general marker controls.
Formal Syntax & Structure
css syntaxcss
li::marker { color: teal; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#a::marker {color:#006050;content:"› "}</style><body><ul><li id="a">Read</li><li id="b">Practice</li></ul></body></html>