-
-
Save shopifypartners/5dd00c880ab1e7b0004eca94e4e5e23d to your computer and use it in GitHub Desktop.
Progressive enhancement 3 | https://www.shopify.com/partners/blog/css-resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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