Home > Article > Web Front-end > Regarding setting the minimum height of div, the css will be automatically increased after exceeding it, compatible with IE and Firefox_html/css_WEB-ITnose
The minimum height of this layer is 200px, that is to say, even if there is no content in the div, the height will remain at 200px. When the content in the DIV exceeds 500px, the height of the DIV will be automatically increased. This is compatible with browsers such as IE or FF. (The background color is for the convenience of viewing the effect)