How to fill 100% of remaining height?

后端 未结 8 1081
眼角桃花
眼角桃花 2020-12-04 11:25
+--------------------+
|                    |
|                    |
|                    |
|                    |
|         1          |
|                    |
|            


        
8条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 11:33

    I added this for pages that were too short.

    html:

    css:

    section#secondary-foot {
        height: 100%;
        background-color: #000000;
        position: fixed;
        width: 100%;
    }
    

提交回复
热议问题