Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.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
You can’t perform that action at this time.