This question already has an answer here:
- CSS Grid Layout not working in Edge and IE 11 even with -ms prefix 3 answers
I've been following the guide here on getting grids working on IE 11. My problem is that even following those rules, the columns and rows just overlap each other rather than taking their grid positions.
Here's a simple code example that would cause the problem:
HTML
<div class="grid">
<div>Top Left</div>
<div>Top Right</div>
<div>Bottom Left</div>
<div>Bottom Right</div>
</div>
CSS
.grid {
display: -ms-grid;
-ms-grid-columns: 200px 200px;
-ms-grid-rows: 200px 200px;
}
And here's a codepen link to it:
https://codepen.io/anon/pen/pdNWMj
Am I getting this code wrong, or should I be using something other than the ms implementation of grid?