<div id="lineRight"></div>
#lineRight::after {
content: "";
width: 1px;
height: 100%;
position: absolute;
top: 0%;
left: 50%;
margin: auto;
background: #F0F0F0;
}
<div id="lineRight"></div>
#lineRight::after {
content: "";
width: 1px;
height: 100%;
position: absolute;
top: 0%;
left: 50%;
margin: auto;
background: #F0F0F0;
}