Examining Bootstrap's mixins

At the beginning of this chapter, we took a brief look at the file structure of the Bootstrap library download; now is a perfect opportunity to revisit this in more detail.

If we open a copy of the downloaded archive and navigate to the root level of the less subfolder, we can see these mixins are spread over 29 mixin files, which can be split into these categories: Utilities, Components, Skins, and Layout.

Examining Bootstrap's mixins

Most of these mixins are concerned with providing Bootstrap its core styles—the ones that are of particular interest are:

  • bootstrap.less: This is the master Less file that, when compiled and minified, will form bootstrap.min.css ...

Get Learning Less.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.