My objective is to align vertical line perfectly in the middle even we squeeze the page. Is it possible make the alignment effectively?
I've tried in this way
<Card>
<CardContent>
<progress max={1000} value={500} />
<p className="vertical_line"></p>
</CardContent>
</Card>
CSS:
.vertical_line {
border-left: 1px solid black;
height: 20px;
position: absolute;
top: 8px;
left: 17.5%;
}
Here is the sample (https://codesandbox.io/s/restless-cache-uj2z0)
But couldn't get exactly, Can anyone help me in this query?