Help me align the text at the midle of that div. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Help me align the text at the midle of that div.

I may need some help to fix the font-size to. I want it to be responsive somehow. Sorry if you don't understand. 😅 🙏🙏🙏🙏 https://code.sololearn.com/W2cKJr6DX49c/?ref=app

17th Jul 2019, 11:18 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
6 Answers
+ 6
https://code.sololearn.com/WWqxBKdI8I39/?ref=app
17th Jul 2019, 11:48 AM
Calviղ
Calviղ - avatar
+ 7
Calviղ I forgot I can use line-height. 😅 Thank you.
17th Jul 2019, 11:49 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 6
Dejan Francuz🥇 it is not centered. Change the view from portrait to landscape.
17th Jul 2019, 11:47 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
There is also option for "vertical-align" in css
18th Jul 2019, 2:54 AM
Legend Tariq
Legend Tariq - avatar
+ 2
Then take flex container, it's easy
17th Jul 2019, 11:49 AM
Dejan Francuz🥇
Dejan Francuz🥇 - avatar