Created
June 7, 2021 04:07
-
-
Save thecodemedia/7e56e1a26186c269e58014f8ab25c4da 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
.parent { | |
display: grid; | |
grid-template: auto 1fr auto / auto 1fr auto; | |
} | |
header { | |
padding: 2rem; | |
grid-column: 1 / 4; | |
} | |
.left-side { | |
grid-column: 1 / 2; | |
} | |
main { | |
grid-column: 2 / 3; | |
} | |
.right-side { | |
grid-column: 3 / 4; | |
} | |
footer { | |
grid-column: 1 / 4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment