Created
August 15, 2020 16:47
-
-
Save clausti/20202a4d555169f85fd9e97c0c431c61 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
.a-post-card { | |
display: grid; | |
grid-template-columns: 1fr; | |
grid-template-rows: auto 1fr auto; | |
.cn-body { | |
grid-column: 1 / -1; | |
grid-row: 1 / -1; | |
color: white; | |
background-color: $orange; | |
border: 1px solid $orange; | |
} | |
.post-inner { | |
grid-column: 1 / -1; | |
grid-row: 1 / -1; | |
background-color: $pale-orange; | |
border: 1px solid $orange; | |
} | |
.post-header { | |
grid-column: 1 / -1; | |
grid-row: 1 / 2; | |
} | |
.post-footer { | |
grid-column: 1 / 2; | |
grid-row: -2 / -1; | |
color: $purple-blue; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment