Skip to content

Instantly share code, notes, and snippets.

@mattvagni
Created February 10, 2015 22:45
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 mattvagni/ca1e84c58c5fe74db1e4 to your computer and use it in GitHub Desktop.
Save mattvagni/ca1e84c58c5fe74db1e4 to your computer and use it in GitHub Desktop.
Magic of vars in less.
@a = 10px;
@b = 5px;
@breakpoint: (@a + @b);
// This doesn't work... only god knows why:
// @breakboint: @a + @b;
@media ~"only screen and (max-width: @{breakpoint})";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment