The upper and lower parts of the layout, the height of the head is not fixed, the bottom is filled with the rest of the layout, can such a layout be implemented with css (any css attribute is fine)

when there is too much content at the bottom, you need to be able to scroll

Css
Mar.29,2021

add the answer upstairs. The container needs height: . If it is body , it needs html,body {height: 100%;}


you can use flex to set the upper flex-shrink to 0 and the lower flex-grow to column;

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb661a-48386.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb661a-48386.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?