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

Using prebuilt mixin libraries


If we've created a number of mixins, we could turn these into a library. However, this may not always be necessary; instead, we can always look for ways to reuse mixins from libraries that are available for download from the Internet.

Why should we use them? There are two good reasons for doing so:

  • We can avoid the need to reinvent the wheel

  • We don't need to worry about the support for, or the updating of, the library—this will be handled by the author, frequently with the help of the open source community at large

There are lots of libraries that are available—they can all be imported using the same @import statement we've already seen in use. We will cover how to use such a library in more detail in the practical example at the end of the chapter, but in the meantime, here are some examples of libraries that are available for use: