Last active
July 9, 2018 12:07
-
-
Save Matus-Stastny/8cda80e952877f41aa22f5aa5c8b9139 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
.container { | |
display: grid; | |
min-height: 100vh; | |
grid-template-columns: minmax(auto, 200px) 1fr minmax(auto, 200px); | |
grid-template-rows: minmax(auto, 50px) 1fr minmax(auto, 50px); | |
grid-template-areas: | |
'header header header' | |
'nav content side-bar' | |
'footer footer footer'; | |
} | |
header { | |
grid-area: header; | |
background-color: #0D355A; | |
} | |
content { | |
grid-area: content; | |
} | |
nav { | |
grid-area: nav; | |
background-color: #c55; | |
} | |
aside { | |
grid-area: side-bar; | |
background-color: #B00B1E; | |
} | |
footer { | |
grid-area: footer; | |
background-color: #690; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment