i use fill available in chrome and it's working perfectly but not in firefox. here's the fiddle : fiddle why does it not working? please help.
.container {
background: steelblue;
height: 100%;
height: -moz-available; /* WebKit-based browsers will ignore this. */
height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
height: fill-available;
width: 100%;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
}
height: -moz-fill-available;
as invalid property. It only understands-moz-available
. It's not recommended to use experimental CSS property as the functionality will change from time to time. Why don't use you traditionalhtml, body { height: 100%; }
trick? – Width-moz-available
but it's still not working. the traditional way is working perfectly – Chaise