As I'm creating a table of contents for my website, I was inspired by an interesting design idea that I came across:
I am particularly drawn to how the T extends down and each section is numbered with the title wrapped around it. How can I achieve this effect on my own website?
I attempted using an <hr> tag along with this CSS:
.contentLine{
border: 1px solid white;
background: white;
width: 2px;
height: 200px
}
Although this creates a straight vertical line as desired, I'm unsure of how, or if it's even possible, to connect it to the word "Contents" that is displayed on my page. Additionally, I prefer not to use the position: absolute; property as I want my website layout to be scalable.