Alright, this is really a simple question that I can't solve. I have an html document that looks like this:
<ol>
<li> item 1 </li>
<li> item 2 </li>
<li> item 3 </li>
</ol>
and the accompanying css looks like this:
ol {
list-style: none;
counter-reset: li-counter;
}
ol li {
counter-increment: li-counter;
}
ol li::before {
content: counter(li-counter);
color: #59cbbe;
font-weight: bold;
width: 20px;
height: 20px;
border: 2px solid black;
border-radius: 50px;
padding: 4px;
margin: 10px;
}
and here is the codepen
I have tried following and modifying this example, but wasn't able to get it. So I tried this one as well. The main issue that I am having, when you look at the code pen is that the circles are not circles, they are always oblong and oval weather I use 30px
or 50%
is there something that I am missing. Sorry if this is a really simple answer, but, I am not that great at css.