I am searching for a way to split my text vertically, with line breaks so that only one word should be present on each line. Currently, I have achieved this by using separate DIV
elements for each word. Is it possible to accomplish the same layout using just a single div
? You can check out the example on this fiddle. I hope my question is clear. Feel free to make edits to my post if my English needs improvement.
<div>
<div> s </div>
<div>u </div>
<div> n </div>
</div>
div > div{
text-align:center
}