How to make div occupy remaining height?

前端 未结 11 1070
遇见更好的自我
遇见更好的自我 2020-11-27 12:49

I have this problem, I have two divs:

<
11条回答
  •  独厮守ぢ
    2020-11-27 13:15

    You can use

    display: flex;
    

    CSS property, as mentioned before by @Ayan, but I've created a working example: https://jsfiddle.net/d2kjxd51/

提交回复
热议问题