How to use height: -webkit-fill-available in Edge browser? How to make a div fill the available space in Edge?

后端 未结 3 1100
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-04 16:51

I am using bootstrap to preview the mobile device as follows:

It works perfectly fine in Chrome. But not on edge :(

My HTML/CSS code is as follows:

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-04 17:08

    Need to set the height:100% for .screen container.

    sample code

提交回复
热议问题