+ 1
How do i change the text position from where it is to the middle?
My header has texts, I want the text to appear in the middle of the header not top where it is.
7 Respuestas
+ 3
Try
.eny {
text-align: center;
line-height: 15vh;
}
+ 3
Add
.eny {
text-align: center;
}
+ 1
Thanks Calviղ
0
This is the code
https://code.sololearn.com/WiNFF53EA346/?ref=app
0
Calviղ it is centred but still at the top of the header. Like center top.
I want the text in the middle of the header, as in middle of the height
0
Wrap content with span tag
span{
top:30px;
position:relative;
left:30px;
}
0
padding-top: 300px;