JSFiddle - React, Tailwind, and code Playground

HTML

<div class="center">
    <div class="dots"></div>
</div>

CSS

.center {
    text-align: center;
}
.dots, .dots:before, .dots:after {
    width: 4px;
    height: 4px;
    background: black;
    border-radius: 50%;
}
.dots{
    margin: 0 auto;
    position: relative;
    display: inline-block;
}
.dots:before {
    content: '';
    position: absolute;
    left: -10px;
}
.dots:after {
    content: '';
    position: absolute;
    right: -10px;
}