How to make rows with different heights equal height in CSS3 flex?
仅有的幸福
仅有的幸福 2017-05-16 13:27:44
0
1
5001

I want the two li's with different heights to be of equal height

I use ul and li to arrange, and the parent element ul is set

display: flex;
align-items: flex-end;

Sub element li is set to:

flex: 0 0 50%;

I set the align-items of the parent element to stretch and it becomes like this. . .

How to set it up so that two li in the same row with different heights can be of equal height

仅有的幸福
仅有的幸福

reply all(1)
给我你的怀抱

align-items attribute

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template