My goal is quite straightforward and you may have come across it on other websites before.
I want to create thin lines (1px) that match the column borders and extend from the top to the bottom of the page. These lines should always be visible and on top of the content.
I am using bootsrap 5 for this task.
Here is a reference screenshot:
https://i.sstatic.net/6pR6b.png
My approach involved creating a container with absolute position, 100% height and 6 different bordered columns with a higher z-index than the page content.
The visual outcome turned out perfect.
However, due to it being on top of the main content, users are unable to interact with the page as the container sits on top of everything.
Here is the code snippet that I am using:
<div class="container-fluid position-absolute top-0 z-990 h-100 d-none d-md-block">
<div class="container h-100">
<div class="row h-100">
<div class="col-2 border-start border-end"></div>
<div class="col-2 border-end"></div>
<div class="col-2 border-end"></div>
<div class="col-2 border-end"></div>
<div class="col-2 border-end"></div>
<div class="col-2 border-end"></div>
</div>
</div>
</div>