Created
February 19, 2020 17:12
-
-
Save sam-b-rose/ff3cd8819d42a368c39b127b2968ff8d to your computer and use it in GitHub Desktop.
My very own CSS framework.
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
* {box-sizing: border-box} | |
[hidden] {display: none !important} | |
[disabled] {pointer-events:none; opacity: 0.3} | |
.horizontal {display: flex; flex-direction: row; justify-content: space-between} | |
.vertical {display: flex; flex-direction: column} | |
.center {justify-content: center; align-items: center} | |
.top {align-items: flex-start} | |
.flex {flex: 1} | |
html { | |
--spacing-xs: 8px; | |
--spacing: 24px; | |
--spacing-s: 12px; | |
--spacing-m: 36px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment