Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.

Contact: aviboots(AT)netvision.net.il

Prodentim Probiotics Specially Designed For The Health Of Your Teeth And Gums

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Teach Your Child To Read

Powerful WordPress hosting for WordPress professionals

Disclosure: My content contains affiliate links.

31,104 questions

40,777 answers

573 users

How to change the bullet color and size in HTML list (li) with CSS

1 Answer

0 votes
<!-- HTML -->

<ul>
   <li>HTML</li>
   <li>CSS</li>
   <li>JavaScript</li>
</ul>
/* CSS */

ul {
  list-style: none;
  font-size: 24px; /* new size */
}

ul li::before {
  content: "•"; 
  padding-right: 12px;
  color: green; 
}

 





answered Feb 22, 2021 by avibootz

Related questions

2 answers 160 views
1 answer 143 views
1 answer 137 views
1 answer 124 views
3 answers 178 views
...