Can`t center vertically a Flexbox item .
So i am trying to make a header in react, (but focus on HTML and CSS in this point).
i have a DIV container in which all the header elements are placed:
And inside this Div i have an other DIV with the UL element for the menu. The HTML code is fine, i ll give you the CSS and describe the issue:
So i want inside the box2 to display a UL as a row in the center of the box2 element. The issue is that using property doesnt work to center vertically the UL element. It stays on top. I know its a noob question but i tried everything and i cant figure it out.
i have a DIV container in which all the header elements are placed:
And inside this Div i have an other DIV with the UL element for the menu. The HTML code is fine, i ll give you the CSS and describe the issue:
So i want inside the box2 to display a UL as a row in the center of the box2 element. The issue is that using property doesnt work to center vertically the UL element. It stays on top. I know its a noob question but i tried everything and i cant figure it out.

