I'm trying to put some rotated text on the upper left corner of a page, and add a line on top of said text, like so.
I tried doing this by having a vertical flex box. I assumed that by drawing the line as a div , and by adding an h3 element afterwards, the spacing would be handled by flex box. For reference, here is the code,
<div style="display: flex;
flex-direction: column;
align-items: center;
justify-content:flex-start;
margin-right: 90%;
height: 100vw;
width: auto;
">
<hr style="transform: rotate(-90deg);
width: 9%;
position: fixed;">
<h3 style="font-family: Italianno;
font-size: 170% ;
transform: rotate(-90deg);
margin-top: 80%;"
id="fancy-logo">
Sorority
</h3>
</div>
Unfortunately, as a I resize the page, the line on top eventually overlaps, with the word? Any advice on how to tackle this ?