0
Header Valign
Is there a way to align text in the header to the vertical center? I tried it with “text-align: center;” but that doesn’t work. I’m working on a calculator where I need this. Here’s the link: https://code.sololearn.com/WD6732L1mBEX/?ref=app
3 odpowiedzi
0
Refer to this
I just used flex in header of css
I just changed:
aling-text: center
To
Display: flex;
Aling-items: center;
Justify-content: center;
https://code.sololearn.com/W7dRArf7DxKC/?ref=app
0
thanks this works pretty well
0
Nitin Kushwaha Leander Creations Not Aling-items
It's align-items: center;