decision. how would you do it?

so i am remaiking my code for this site, how would you make the line to the left? at first i simply did the line on the first section and made the height of the line more than it's parent, that made in to some annoying problems when i changed the height of other things. another option i thought of was just making the line on one section and copying it to the other ones. there would be some exact copies of code but it would change height to it's parent. would you do it in some other way or does one of these sound better
1 Reply
Mahesh
Mahesh2y ago
You can make the line as a separate element and make the position fixed.
<div id="line">&nbsp;</div>
<div id="line">&nbsp;</div>
#line {
position: fixed;
bottom: 0;
left: 3rem;
width: 1rem;
height: 100%;
bottom: 0;
background-color: red;
}
#line {
position: fixed;
bottom: 0;
left: 3rem;
width: 1rem;
height: 100%;
bottom: 0;
background-color: red;
}
Want results from more Discord servers?
Add your server