::marker

noun

say it: “MAR-ker” /ˈmɑːrkər/ or “DUB-ul KOH-lun MAR-ker” /ˈdʌbəl ˈkoʊlən ˈmɑːrkər/

A pseudo-element that styles the bullet or number in front of a list item, such as its color or size.

What does ::marker do?

::marker styles the bullet or number of a list item.

li::marker { color: tomato; }

In a sentence

  • “I made the recipe's step numbers big and orange with ::marker, and the steps' text stayed black.”

Level: Apprentice · More CSS terms at this level

Updated