Pregunta

Demo - how to stretch li elements to parent container height, so they fit all in ul with appropriate height? I need smth like that:

expected result

¿Fue útil?

Solución

ul { display: table;}
li { display: table-row;}

Otros consejos

Include one line inside the block of stylesheets for li

height: 25%;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top