I would like to use flexbox to vertically align some content inside an but not having great success.
I\'ve checked online and many of the tut
It's depend on your li height just call one more thing line height
* { padding: 0; margin: 0; } html, body { height: 100%; } ul { height: 100%; } li { display: flex; justify-content: center; align-self: center; background: silver; width: 100%; height:50px;line-height:50px; }
This is the text