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

Viewing the finished article


Now that we've made the changes to our converted CSS file, let's take a look at the end result. To compare, open a copy of conversion.less from the code download that accompanies the book and see how you got on with making the changes:

Hopefully, you can see some of the changes we've made—Note that we've not necessarily saved on the number of lines we've written, but we've made it easier to update the code in the future, if changes need to be made. Granted that in a small Less file such as this one, we may not see the full benefits of using Less; in a larger file, the benefits will become apparent when converting from CSS to use Less.