The list-style-image
property defines the list-item marker to replace with an image.
list-style-image: none | url;
.div-1 > li{
list-style-image: url('./sample.jpg');
list-style-type: square;
}
.div-2 > li{
list-style-image: none;
list-style-type: square;
}
none: image is not displayed. The list-style-type
property will be displayed instead.
url: image with provided url/path will be displayed as a list item marker.