+ 1

How to assign color to the bullets of <ul></ul>?

I think here is a trick for assigning color to un-order-list??

16th Nov 2018, 9:55 AM
Asif khan
Asif khan - avatar
6 Respuestas
+ 4
Asif khan From what i know, dont exists a "direct" way to set color for bullets (though if you can set an image for replace it)... There is a ::marker selector that, from what i know, is not well supported
16th Nov 2018, 10:14 AM
KrOW
KrOW - avatar
+ 2
This ul{ color:red; } dont works?
16th Nov 2018, 9:58 AM
KrOW
KrOW - avatar
+ 1
Satnam Singh yeah. But it's a method to make the first 'list-style:none;' Then use before. . . . Can we assign color direct ?
16th Nov 2018, 10:10 AM
Asif khan
Asif khan - avatar
0
KrOW : it's working but. I just want assigning color to the bullets !!
16th Nov 2018, 10:00 AM
Asif khan
Asif khan - avatar
0
KrOW Correct.. 'before' selector use for bullets coloring
16th Nov 2018, 10:37 AM
Asif khan
Asif khan - avatar