Is there a way to make an unordered list start with anything other than bullets? Can it be maybe a dash? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there a way to make an unordered list start with anything other than bullets? Can it be maybe a dash?

15th Apr 2020, 8:37 PM
Somto Abraham
Somto Abraham - avatar
2 Answers
+ 4
You can use list-style-image in the CSS to replace the bullets with a custom image. https://www.w3schools.com/css/css_list.asp
15th Apr 2020, 8:45 PM
Peter West
+ 1
You could also use list-style-type... Theotically it allows any string value (besides a bunch of keywords), but unfortunally this seems not widely supported (my galaxy note 4 with android -- sligtly outdated but not so much, fallback to default bullet)... https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type
15th Apr 2020, 11:41 PM
visph
visph - avatar