S
S
Sergey Shilov2018-11-02 12:51:23
css
Sergey Shilov, 2018-11-02 12:51:23

Why doesn't IE11 accept display: grid;?

Greetings! I'm using gulp with an autoprefixer, grid: true in the parameters, and support for 10-11 IE, however, when opening the simplest column structure in IE, all blocks go to the left corner. What's wrong?
https://jsfiddle.net/bpq7zewf/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrej Sharapov, 2018-11-02
@Madeas

Try

.boxed {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (3fr)[3];
      grid-template-columns: repeat(3, 3fr);
  grid-gap: 40px;
  width: 60%;
  margin: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question