Is there a way to create responsive circles with equal width and height, center the horizontal line, and also center the numbers in the middle of the circle?
.DCQ_Container {
display: flex;
flex-direction: column;
text-align: center;
}
.Progress_Bar {
display: flex;
justify-content: center;
border: 3px solid royalblue;
align-items: center;
}
.circle {
width: 50px;
height: 50px;
border-radius: 50%;
color: whitesmoke;
background-color: green;
text-align: center;
}
.HR_line {
border: 2px solid grey;
flex-grow: 0.1;
margin: 0;
}
<div class="DCQ_Container">
<h1 class="Steps_Head"> DCQ Step 1 / 3 </h1>
<div class="Progress_Bar">
<div class="Circle_Text_Container">
<div class="circle">
<p>1</p>
</div>
<p>User Name</p>
</div>
<hr class="HR_line" />
<div class="Circle_Text_Container">
<div class="circle">
<p>2</p>
</div>
<p>Location</p>
</div>
<hr class="HR_line" />
<div class="Circle_Text_Container">
<div class="circle">
<p>3</p>
</div>
<p>Buisnesss</p>
</div>
</div>
</div>