html li style code example
Example 1: no li style
list-style: 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: li html
<ol>
<li>something</li>
<li>something</li>
</ol>
or
<ul>
<li>something</li>
<li>something</li>
<li>something</li>
</ul>