Solution:
ul {
list-style: none;
}
ul li:before {
content: "•";
font-size: 10pt;
}
Explanation
CSS list-style Property
The list-style property is a shorthand for list-style-type, list-style-position and list-style-image.
Where
list-style-type: Specifies the type of list-item marker. Default value is "disc"
list-style-position: Specifies where to place the list-item marker. Default value is "outside"
list-style-image: Specifies the type of list-item marker. Default value is "none"
Example
ul {
list-style: square inside url("abc.gif");
}
CSS ::before Selector
The ::before selector inserts something before the content of each selected element(s).
Finally, we can use the content property to specify the content to insert.
Sources
