So, I've tried to change it and I found a way but I don't think that's the correct way, because I changed every single "li".
Is there a professional way?
and thanks
.ul-list {
display: flex;
background-color: #eeeeee;
color: black;
width: 400px;
justify-content: center;
align-items: center;
flex-direction: column;
}
.ul-list .ol-html {
margin: 20px;
list-style-type: none;
}
.ul-list .ol-html #slim::before {
content: counter(number) ".";
counter-increment: number 10;
}
.ul-list .ol-html #pugjs::before {
content: counter(number) ".";
counter-increment: number 11;
}
.ul-list .ol-html #haml::before {
content: counter(number) ".";
counter-increment: number 12;
}
<ul class="ul-list">
<li>
HTML
<ol class="ol-html">
<li id="slim">Slim</li>
<li id="pugjs">Pugjs</li>
<li id="haml">HAML</li>
</ol>
</li>
</ul>