+ 3

How do I vertically and horizontally center text with CSS? 

1st May 2019, 1:22 PM
DEEPAK SINGH
DEEPAK SINGH - avatar
6 Antworten
+ 4
CSS Pro Tips: Centering Elements by Domino https://www.sololearn.com/post/37760/?ref=app
1st May 2019, 2:19 PM
Gordon
Gordon - avatar
+ 3
Text{ text-align:center; line-height:your viewpot/box height;
16th May 2019, 6:07 PM
Zoughi-Javad
Zoughi-Javad - avatar
16th May 2019, 6:23 PM
Zoughi-Javad
Zoughi-Javad - avatar
+ 3
https://code.sololearn.com/Wj8zvFBbky8D/?ref=app
16th May 2019, 6:25 PM
Zoughi-Javad
Zoughi-Javad - avatar
0
vertical-align: middle
14th May 2019, 3:50 AM
Оля Переверзева
Оля Переверзева - avatar