Skip to content

Instantly share code, notes, and snippets.

@caryfuk
Last active April 4, 2018 08:23
Show Gist options
  • Save caryfuk/3bcee6e289f12f8a1789ae5d2f6ac3fe to your computer and use it in GitHub Desktop.
Save caryfuk/3bcee6e289f12f8a1789ae5d2f6ac3fe to your computer and use it in GitHub Desktop.
Using variables in within calc in less
~"calc(100% - @{variable})";
// or
calc(100% ~"-" @variable);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment