Write a paragraph style in css for the front-end written test questions. When the middle content of center is too short, there will be no blank space under footer.

front-end written questions

    <div>
        <div class="header"></div>
        <div class="center"></div>
        <div class="footer"></div>
    </div>

you can only use css. Need to be compatible with ie8, to implement the following functions

header will always be at the head, footer will always be at the end, and the middle center will constantly update the content, sometimes the content is long, sometimes the content is short

when the content is short, there can be no blank space under the footer.

Aug.18,2021
Menu