CSS height 100% issue

前端 未结 3 1747
深忆病人
深忆病人 2021-01-06 11:20

I know there are a lot of questions about a css 100% height problem. However I\'ve tried to follow the instructions there and still the height isn\'t 100%, so I thought I\'d

3条回答
  •  耶瑟儿~
    2021-01-06 11:54

    I think this article can help you.

    According to this article:

    Assign "position:relative" to your "container" div - page, page-container, or wrapper (I'm not sure to which one of the three, just try), and then "position:absolute; bottom:0;" to your "footer-container" div.

    I hope that helps you.

提交回复
热议问题