.ccw--steps {
margin: 10px auto;
position: relative;
max-width: 500px;
}
.ccw--step-dot {
display: inline-block;
width: 15px;
border-radius: 50%;
height: 15px;
background: blue;
border: 5px solid #e8e8e8;
position: relative;
top: -8px;
}
.ccw--step-bar {
position: absolute;
top: 0;
left: 20px;
right: 0;
height: 3px;
background: red;
width: 410px;
}
<div class="ccw--steps">
<div class="ccw--step-bar">
</div>
<div class="row">
<div class="col-8">
<div><span class="ccw--step-dot"></span><span class="ccw--step-title">A</span></div>
</div>
<div class="col-2">
<div><span class="ccw--step-dot"></span><span class="ccw--step-title">B</span></div>
</div>
<div class="col-2">
<div><span class="ccw--step-dot"></span><span class="ccw--step-title">C</span></div>
</div>
</div>
</div>
Below is the output of the HTML and CSS provided:
https://i.sstatic.net/Dhjsi.png
How can I adjust the layout to add spaces between all the dots as shown below?