Skip to content

Instantly share code, notes, and snippets.

@zastrow
Created November 1, 2017 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zastrow/01d6961c76b46a14cb1eacfa4ca08bbe to your computer and use it in GitHub Desktop.
Save zastrow/01d6961c76b46a14cb1eacfa4ca08bbe to your computer and use it in GitHub Desktop.
Microsoft Edge 15 down support an older spec of CSS grid which can cause some layout issues, this mixin utilizes a compound @supports query to weed out this issue.
// Microsoft Edge 15 down support an older spec of CSS grid
// which can cause some layout issues, this mixin utilizes
// a compound @supports query to weed out this issue.
@mixin grid-support {
@supports (display: grid) and (not (display: -ms-grid)) {
@content;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment