Book Image

LESS WEB DEVELOPMENT COOKBOOK

Book Image

LESS WEB DEVELOPMENT COOKBOOK

Overview of this book

Table of Contents (19 chapters)
Less Web Development Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Using Variables and Mixins

In this chapter, you will learn about the following:

  • Deriving a set of variables from a single base variable

  • Value escaping with the ~"value" syntax

  • Using variable interpolation

  • Redeclaring variables based on lazy loading

  • Using mixins to set properties

  • Declaring a class and mixin at once

  • Using selectors inside mixins

  • Using parametric mixins