JSFiddle - React, Tailwind, and code Playground
HTML
<div class="da-dots">
<span ></span>
<span class="active"></span>
<span ></span>
</div>
CSS
.da-dots {
position: absolute;
bottom: 10px;
left: 50%;
z-index: 15;
width: 60%;
margin-left: -30%;
padding-left: 0;
list-style: none;
text-align: center;
background: #777;
padding: 10px 0;
}
.da-dots span {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
border: 1px solid #fff;
border-radius: 10px;
cursor: pointer;
background-color: #000 \9; // IE8
background-color: rgba(0,0,0,0); // IE9
}
.da-dots .active {
margin: 0;
width: 12px;
height: 12px;
background-color: #000;
}