I have the following HTML structure (which cant be changed):
<div className='spritz'>
<div className='left'></div>
<div className='middle'></div>
<div className='right'></div>
</div>
The middle has one letter which contains the middle letter of a random word and the left and right have the rest of the letters.
How can I style it that no matter what kind of word I'm generating the middle letter will be in the middle of the screen?
For instance:
Hello // (Right = He, Middle= l, Left = lo
How // (Right = H, Middle= o, Left = w
Wonderful // (Right = Wond, Middle= e, Left = rful
Different
Hi
Thanks!!