How can I change the style in list?
1. First
2. Second
3. Third
I want my listing to look something like
1) First
2) Second
3) Third
Now the question is how to change dot . to parenthesis ) or something we like??
I am beginner to HTML so the question seem a quite awkward. Please help me with this question.
Here you go.
WORKING DEMO
The HTML:
<ul style="list-style-type:decimal;">
   <li>First</li>
   <li>Second</li>
   <li>Third</li>
</ul>
The CSS:
li{
   position: relative;
   }
li:before{
   position: absolute;
   left: -13px;
   content: ')';
   background:white;}
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With