I am having issues with my UL list where the CSS class I applied is not affecting the li::before pseudo class.
Here's the HTML:
<ul class="my-ul">
<li>Item 1</li>
<li>Item 2</li>
</ul>
This is the CSS I am using:
.my-ul {
font-size: 12pt;
list-style: none;
}
.my-ul li {
margin: 0 0 5px 0;
}
.my-ul li::before {
content: disc;
color: #501521;
}
Can anyone help me figure out what I am doing wrong?