deckerdev.com

Links and snippets relating to layouts using css grids.

CSS Grids

Grid Fallbacks

Basic example:

.grid > div {
  float: left;
  width: 33.333%;
}

@supports (display: grid) {
  .grid > div {
    width: auto;
  }
}

Ignore MS Edge:

@supports (grid-area: auto) {}