Last active
December 7, 2017 06:23
-
-
Save ai/a1426ec4ad404119467c391522cf32a7 to your computer and use it in GitHub Desktop.
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
body { | |
display: -ms-grid; | |
display: grid; | |
-ms-grid-rows: 30px auto 30px; | |
grid-template-rows: 30px auto 30px; | |
-ms-grid-columns: 3fr 1fr; | |
grid-template-columns: 3fr 1fr; | |
grid-template-areas: "π© π©" | |
"π π°" | |
"π π"; | |
} | |
.header { | |
-ms-grid-row: 1; | |
-ms-grid-column: 1; | |
-ms-grid-column-span: 2; | |
grid-area: π©; | |
} | |
.nav { | |
-ms-grid-row: 2; | |
-ms-grid-column: 1; | |
grid-area: π; | |
} | |
.main { | |
-ms-grid-row: 2; | |
-ms-grid-column: 2; | |
grid-area: π°; | |
} | |
.footer { | |
-ms-grid-row: 3; | |
-ms-grid-column: 1; | |
-ms-grid-column-span: 2; | |
grid-area: π; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! π
I think there's a small mistake here: the nav gets 3fr and main only 1fr. π