I need to write vertical text. I just want the text to look like one below other.
Required Output:
A
P
P
L
E
I cannot use rotate
property. And I dont want to modify my html. What could be the best way? Please help!
Thanks!
I need to write vertical text. I just want the text to look like one below other.
Required Output:
A
P
P
L
E
I cannot use rotate
property. And I dont want to modify my html. What could be the best way? Please help!
Thanks!
I think this is what you need.
HTML:
<p class="vertical-text">ABCD</p>
CSS:
.vertical-text{
word-wrap: break-word;
width: 0;
}