CSS, Web, Web Development, Layout.
adjusted, for example, in a Flex project or Grid project , the child element height is the same as the container height. <!-- HTML --> <flex__container> <flex__item> <content></content> </flex__item> </flex__container> /* CSS */ .flex__container { display: flex; } .content { height: 100% } // 或