Answer the question
In order to leave comments, you need to log in
css grid not working in IE11?
Good evening. Can you please tell me why this code does not work in ie11? Is everything ok in Edge or is version 11 and does not support grids? The same caniuse says partially
https://codepen.io/Alex2033/pen/jvWPwj
Answer the question
In order to leave comments, you need to log in
This means that for ie11, you need to separately prescribe styles, starting with the very definition of display:gird;
and below: display: -ms-grid;
Well, all the properties are duplicated for IE.
It's not difficult, but you have to tinker, then you'll get used to it.
For example, there is no grid-gap for it, all indents are written explicitly as a separate column.
Something like this
.startGrid {
display: -ms-grid;
-ms-grid-columns: 32% 20px 32% 20px 32%;
-ms-grid-rows: auto 20px auto 20px auto;
} CSS Grid in IE: CSS Grid and the New Autoprefixer https://css-tricks.com/css-grid-in-ie-css-grid-and...
The same caniuse says that partially
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question