DavidLagou / mdia-4590

Repository for MDIA 4590
0 stars 0 forks source link

CSS grid must work on IE #7

Open DavidLagou opened 4 years ago

DavidLagou commented 4 years ago

Description:

CSS grid must be able to be viewed correctly on all browsers.

Steps to reproduce:

Expected Results:

Each card in either the web development page, UI UX page, and the graphic design page must be broken down into cards. And responsive based on the viewport

Actual Result:

CSS grid is incompatible with the current CSS grid features. Therefore there are no grids instead.

Screen Shot 2020-11-12 at 9 41 52 PM

Configurations:

This bug was found on the following configurations labeled in Blue.

Screen Shot 2020-11-12 at 10 24 46 PM

Severity:

High

Priority

High

Type:

Bug

Assignee:

David Lagou

DavidLagou commented 4 years ago

Steps to resolve the issue

In order to solve this solution, I had to go inside the code and add a few lines.

  1. The project container needed to have some IE and Edge specific lines
// projects container 
  -ms-grid-columns: 1fr 1fr;
  -ms-grid-rows: 4fr;
  1. Then I named all of the HTML cards with a respective numeric identifier.
  1. Then, I went inside my CSS and added a couple of lines :
// individual cards 
.cards.one {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
}

.cards.two {
    -ms-grid-column: 2;
    -ms-grid-row: 1;
}

.cards.three {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
}