質問

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

役に立ちましたか?

解決

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

他のヒント

Include one line inside the block of stylesheets for li

height: 25%;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top