Skip to content

Instantly share code, notes, and snippets.

@robwierzbowski
Last active November 2, 2017 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robwierzbowski/fb1c62baf3a1cd0558fc4d213cd173ec to your computer and use it in GitHub Desktop.
Save robwierzbowski/fb1c62baf3a1cd0558fc4d213cd173ec to your computer and use it in GitHub Desktop.
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