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

Dissecting Bootstrap's Less file structure


So, you've decided to take the plunge and use Bootstrap; it, like many other frameworks available on the Internet, is a good way to help get a website up and running quickly. However, this chapter is about how Less is used in Bootstrap, right? Absolutely; Less plays a key part in producing the CSS used to style each of the elements that make up the Bootstrap library. To see how, let's take a look at the library in more detail. To begin with, we will download it from the main website.

Downloading the library

We first need to download a copy of the library—for this, visit http://getbootstrap.com/ and click on Download Bootstrap. The Bootstrap library is currently at Version 3.2.0 at the time of writing this and can be obtained in one of several ways, including via CDN or using Bower.

The version that is of interest to us is the source code one, so go ahead and click on Source Code and save a copy of the archive to a safe place. Once downloaded, extract...