Skip to content

Instantly share code, notes, and snippets.

@robwierzbowski
Last active November 2, 2017 05:53
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/03128fbf378db388cb8339e51d5cd180 to your computer and use it in GitHub Desktop.
Save robwierzbowski/03128fbf378db388cb8339e51d5cd180 to your computer and use it in GitHub Desktop.
Example of non-additive styes
.userPreview {
border: 5px solid $off-black;
font-size: 1.5rem;
background: $light-gray;
&.--compact {
border: 1px solid $off-black;
font-size: 1rem;
background: transparent;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment