I am new to CSS/HTML, if I want to set bullets to user defined chars like #, |, >..etc
How can I do that in CSS is any property available or any solution for such context
<ul>
<li></li>
</ul>
I am new to CSS/HTML, if I want to set bullets to user defined chars like #, |, >..etc
How can I do that in CSS is any property available or any solution for such context
<ul>
<li></li>
</ul>
You can use pseudo-element :before and define the content you want e.g.:
ul {
list-style: none;
}
ul li:before {
content: "#";
padding-right: 5px;
}
<ul>
<li>test</li>
</ul>
Ref