Is it possible to change the size of an <li> element’s bullet?
Take a look at the code below:
li {
list-style: square; /* I want to change the size of this squared bullet. */
}
I can’t seem to find any way to achieve that.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You mean altering the size of the bullet, I assume? I believe this is tied to the font-size of the li tag. Thus, you can blow up the font-size for the LI, then reduce it for an element contained inside. Kind of sucks to add the extra markup – but something like:
Alternately, you can specify an image file for your list bullets, that could be as big as you want:
See: http://www.w3schools.com/css/css_list.asp