Menu Close

How to Change Bullet Color of List Items


Follow the below code and change bullet color using css,

<!DOCTYPE html>
        <meta name="viewport" content="width=device-width, initial-scale=1">
            ul {list-style: none;}
            ul li::before {content: "\2022";color: blue;font-weight: bold;display: inline-block; width: 1em;margin-left: -1.5em;}
        <h2>Change Bullet Color of List Items</h2>


Posted in CSS, HTML

You can also read...

Leave a Reply

Your email address will not be published.