Created
July 1, 2018 22:42
-
-
Save mitchellbusby/443b776f1853c5ee943531a1c22690d7 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
<div class=”grid-container”> | |
<nav> | |
<ul> | |
<li>Menu item 1</li> | |
</ul> | |
</nav> | |
<main> | |
<h1>Hello world!</h1> | |
</main> | |
</div> |
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
.grid-container { | |
display: grid; | |
grid-template-columns: repeat(12, 1fr); | |
} | |
nav { | |
grid-column: span 4; | |
} | |
main { | |
grid-column: span 8; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment