HTML & CSS · Middle · Question 63 of 75
How do you change the color of list bullets without touching the text?
li::marker { color: tomato; }- ✓Correct answer: With the
::markerpseudo-element - 2With
list-style-color - 3Only by replacing bullets with background images
Explanation
::marker supports a limited set of properties such as color, font-* and content. For fully custom bullets use list-style: none and ::before.