Example of additive styles
.userPreview { | |
border: solid $off-black; | |
&.--default { | |
border-width: 5px; | |
font-size: 1.5rem; | |
background: $light-gray; | |
} | |
&.--compact { | |
border-width: 1px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment