Vmax module not working in IE
3 answers
I think you can get around the vmax support issue by adding media queries to your css. Since vmax is equal to the highest of vw and vh, you just need to use these two units like this:
@media (orientation: landscape) {
.container div{border:1px solid green;flex: 0 0 48vw;}
}
@media (orientation: portrait) {
.container div{border:1px solid green;flex: 0 0 48vh;}
}
You can see what I used:
vw for landscape orientation, since in landscape the viewport is wider than its height.
vh for portrait orientation, since in portrait the height of the viewport is greater than its width.
+3
source to share