CSS stretch elements to fit container height
-
06-07-2021 - |
题
Demo - how to stretch li
elements to parent container height, so they fit all in ul
with appropriate height?
I need smth like that:
解决方案
ul { display: table;}
li { display: table-row;}
其他提示
Include one line inside the block of stylesheets for li
height: 25%;
不隶属于 StackOverflow