CSS, Web, Web Development, Layout.
height of the main content area. You will find that "when the content is less than one screen, <footer> will be at the bottom of the page. When the content exceeds one screen, <footer> will automatically be postponed". In the Flexbox layout, you can also set the following style on the <main> area