I apllied a border to the li element and to the container.
With align-text property the content is just centered horizontally
How do i do to have the content centered in the very middle ?
Thxs in advance
Guessing at that…
Is it just a case of ditching the fixed height for vertical padding?
I also dropped the fixed width for flex-basis.
This could be done with display: table and have better legacy browser support, that’s not to say flex does not have its uses and you should not be learning it though.
Yes a helpful code using flex and padding set at 2 values.
furthermore with this code i can change the boxes dimensions without decentering the content
i have much more to learn about flexbox css
Thank you guys