how to display li with bullets in css code example
Example 1: css list no bullets
#my-list-element {
list-style-type: none;
padding-left: 0px;
}
Example 2: css style list
ul {
list-style-type: square;
}
ol {
list-style-type:decimal;
}
li {
margin: 0;
padding: 15px 0 15px 60px;
list-style: none;
background-image: url("path_to_image");
background-repeat: no-repeat;
background-position: left center;
background-size: 30px;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
li {
padding-left: 16px;
}
li:before {
content: "•";
padding-right: 8px;
color: blue;
}