I am designing a website and looking to create a unique effect with the text in my title/h1 tag. I want the first word to be displayed horizontally and the second word vertically.
My attempt using span tags in the h1 element only allowed me to change the color, but I couldn't get the rotate feature to work as intended.
Here is the code I tried:
<h1>
<span class="horizontal-QuanT">QuanT</span>
<span class="verticle-Tech">Tech</span>
</h1>
This is how I styled it using CSS:
h1{
color:bisque;
text-align: center;}
h1 span.horizontal-QuanT{
color:gray}
h1 span.verticle-Tech{
color:white;
rotate: 90deg;}