6. Variables
LESS lets us use variables in our code
Assign variables by using ‘@variable: value’
http://codepen.io/jeffstagg/pen/EaqeqZ?editors=110
7. String Variables
We can store strings as values in variables
Useful for image URLs
@imageBaseUrl: ‘/Images/min/’
http://codepen.io/jeffstagg/pen/zxgmow?editors=110
8. Variable Scope
Variables have scope local to their current function
http://codepen.io/jeffstagg/pen/ZYgqQO?editors=110
http://codepen.io/jeffstagg/pen/emqPvg?editors=110
16. Namespaces
Mixins and Functions can be defined in Namespaces
#namespace { .function(@color) { color: @color; } }
http://codepen.io/jeffstagg/pen/qEeQbg?editors=110
19. Less.js
LESS can be compiled client-side by using less.js
https://gist.github.com/jeffstagg/2d4a87ee3d9d2c1559e2
20. Gulp
NodeJS task runners like Grunt or Gulp can compile LESS server-side
https://gist.github.com/jeffstagg/2585aee8899b75ed4eb4
21. Web Essentials for Visual Studio
Web Essentials extension can compile LESS in real-time
https://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-
9df7-0f2a504ca361