Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save daveredfern/4f4f48146ab7b9ffa636 to your computer and use it in GitHub Desktop.
Example of using Calc with SASS variables
$spacing = 1rem;
.column {
width: calc(20% - #{$spacing});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment