Book Image

Learning less.js

Book Image

Learning less.js

Overview of this book

Table of Contents (22 chapters)
Learning Less.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


One of the hardest concepts to understand in Less is how we can convert an existing site to use Less. While there are some easy (or perhaps more complex, depending on your take) questions that we can answer, converting a site can require a certain degree of skill, to ensure that we take full advantage of Less during the conversion process.

Throughout this chapter, we saw some of the questions and tricks that we can use to start the conversion process. We began by taking a look at how to prepare for the initial jump into the conversion process, which was followed by the initial steps anyone should take before considering how to convert their CSS code. We saw how easy it is to split code into separate partials, which can be imported into one master file that Less will compile to valid CSS.

Our initial steps into converting Less code began with a look at spotting the low-hanging fruits, or quick and easy changes that we can make. We saw how, with the use of sites such as http://css2less...