Sometimes, we want to make HTML list-style-type dash with CSS.
In this article, we’ll look at how to make HTML list-style-type dash with CSS.
How to make HTML list-style-type dash with CSS?
To make HTML list-style-type dash, we set the list-style
CSS property.
For instance, we write
ul {
list-style: square inside
url("data:image/gif;base64,R0lGODlhBQAKAIABAAAAAP///yH5BAEAAAEALAAAAAAFAAoAAAIIjI+ZwKwPUQEAOw==");
}
to set the list-style
property to the URL we the bullet style we want.
Conclusion
To make HTML list-style-type dash, we set the list-style
CSS property.