Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Styling bullets and numbers in <ul> and <ol>

Tags:

html

css

How can I get access to the actual bullet and/or number in CSS selectors for <ul> and <ol>? I'd specifically like to increase the font-size and font-weight of the numbers/bullets to make my items stand out more.

like image 818
Naftuli Kay Avatar asked Oct 31 '11 05:10

Naftuli Kay


1 Answers

You can't select them specifically, but you can style the li and wrap the li's contents with a span (or whatever) and style that differently.

jsFiddle.

like image 138
alex Avatar answered Sep 23 '22 22:09

alex