Skip to content

Instantly share code, notes, and snippets.

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 shopifypartners/5dd00c880ab1e7b0004eca94e4e5e23d to your computer and use it in GitHub Desktop.
Save shopifypartners/5dd00c880ab1e7b0004eca94e4e5e23d to your computer and use it in GitHub Desktop.
.layout-main {
display: inline-block;
display: flex;
display: grid;
width: 100%;
}
.layout-main__left {
float: left;
width: 75%;
}
.layout-main__right {
float: left;
width: 25%;
}
@supports (display: grid) {
.layout-main {
grid-template-columns: 75% 25%;
}
.layout-main__left,
.layout-main__right {
width: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment