Currently facing an issue with finding a solution to my problem.
The challenge involves having a header tag nested within multiple divs. Below is the structure:
<div class="card">
<div class="layout-left">
<div class="card-header">
<h5> I am supposed to be a straight vertical line </h5>
</div
</div>
... (other divs)
</div>
The main issue lies in attempting to make the h5 tag vertically aligned, using:
transform: rotate(-90deg);
However, the text remains inline due to inheriting the width of the parent div, causing the letters to cluster together. The code provided has been simplified by omitting other content within the divs where some are utilized as flex boxes.
To better comprehend the dilemma, please refer to this jfiddle. In case a resolution requires Javascript or JQuery library, it's acceptable, but CSS alternatives are preferred.
Your assistance is greatly appreciated :)