Any idea how to use webkit fill available working

2019-08-18 21:57发布

问题:

I use css:

width: -webkit-fill-available;
height: -webkit-fill-available;

for my image, but in firefox and ie doesn't works. i already used:

width: 100%
max-width: 100%;

but still now works. this is example works on chrome but not in firefox and IE

回答1:

For Firefox you could use:

width: -moz-available;