Does anyone know if it's possible to dynamically alternate the colour of an unordered list bullet for all lists on a site?
For example the first bullet in the list is green, second bullet is blue and the third bullet is orange and so on.
I've tried to use JQuery here, but it's impossible to target the :before pseudoelement.
<p> Shopping List </p>
<ul>
<li>Jalapeños</li>
<li>Milk</li>
<li>Eggs</li>
</ul>