css list bullet code example
Example 1: li no bullet
list-style-type: none;
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;
}
Example 3: bullet list html
<ul>
<li>Eggs</li>
<li>Pancakes</li>
<li>Jelly</li>
</ul>