Trying to create a vertical dashed line above each of the progress-container
divs, that sits directly centre on top and spans the full possible height. The only way I've managed to create something similar is by adding a left border, but obviously this isn't centered.
This is a simplified demo and each input/icon represent a rendered React component so using pure CSS is my ideal scenario.
.wrapperDiv {
display: flex;
flex-direction: row;
align-items: center;
}
.progress-container {
height: 22px;
width: 22px;
margin-right: 16px;
background-color: red;
display: flex;
}
.input-wrapper {
border: 1px solid #ced4da;
border-radius: 2px;
overflow-y: hidden;
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
}
<div class="wrapperDiv">
<div class="progress-container"></div>
<div class="input-wrapper">
<div class="input">I have my first input here</input>
</div>
</div>