JSFiddle - React, Tailwind, and code Playground
HTML
<ul>
<li class="active"></li>
<li></li>
<li></li>
</ul>
CSS
ul {
margin: 0;
padding: 0;
list-style: none;
text-align: center;
font-size: 0;
}
ul li {
display: inline-block;
width: 19px;
height: 19px;
position: relative;
margin-left: 10px;
border-radius: 50%;
border: 2px solid #000;
}
ul li:first-child {
margin-left: 0;
}
ul li.active:before,
ul li.active:after {
content: '';
width: 9px;
height: 9px;
position: absolute;
top: 0; left: 0;
bottom: 0; right: 0;
margin: auto;
border-radius: 50%;
border: 2px solid #000;
}
ul li.active:after {
width: 3px;
height: 3px;
border: none;
background: #000;
}