How to stretch div height to fill parent div - CSS

后端 未结 7 1438
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 10:05

I have a page with divs like below

7条回答
  •  没有蜡笔的小新
    2020-12-02 10:57

    What suited my purpose was to create a div that was always bounded within the overall browser window by a fixed amount.

    What worked, at least on firefox, was this

    Insofar as the actual window is not forced into scrolling, the div preserves its boundaries to the window edge during all re-sizing.

    Hope this saves someone some time.

提交回复
热议问题