Css Grid Layout Support For Ie11
we are trying to develop UI layout using css grid for IE-11, problem here is we have already developed the layout for all the browsers but have not tested on IE11, now we are in la
Solution 1:
IE 11 has no equivalent for grid-column-gap
and grid-row-gap
. If you need that, you will have to add fake column/gaps like
-ms-grid-columns: 1fr 20px1fr 20px1fr 20px1fr;
On top of that, each and every element in an IE 11 grid must be positioned col/row-wise, otherwise they end up stacking on top of each other in col 1/row 1.
That being said, of course you need to take the fake "gap" columns/rows into account when positioning/spanning elements.
Post a Comment for "Css Grid Layout Support For Ie11"