Chapter 1. Getting to Grips with the Basics of Less
In this chapter, we will cover the following topics:
- Downloading, installing, and integrating
less.js - Installing the
lessccompiler withnpm - Using
less.jswith Rhino - Declaring variables with Less for commonly used values
- Setting the properties of CSS styles with mixins
- Writing more intuitive code and making inheritance clear with nested rules
- Creating complex relationships between properties
- Using the built-in functions of Less
- Using namespaces to make your code reusable and portable