CSS, Web, Web Development, Layout.
display is explicitly set to flex or inline-flex on the container, the height of all child elements of the container is equal because the default value of the container's align-items is stretch . The effect you see at this time is as follows: This method is particularly suitable for card