Book Image

Less Web Development Essentials

By : Bass Jobsen
Book Image

Less Web Development Essentials

By: Bass Jobsen

Overview of this book

Less is a CSS preprocessor that essentially improves the functionality of simple CSS with the addition of several features. The book begins by teaching you how Less facilitates the process of web development. You will quickly then move on to actually creating your first layout using Less and compiling your very first Less code. Next, you will learn about variables and mixins and how they will help in building robust CSS code. In addition, you'll learn how to keep your code clean and test it by using style guides. We will then move on to the concept of Bootstrapping and the strength of using Less with Twitter Bootstrap. Going one step further, you will be able to customize Twitter's Bootstrap 3 using Less. Finally, you will learn how to integrate Less into your WordPress themes and explore other web apps that use Less. By leveraging this powerful CSS preprocessor, you will be able to consistently produce amazing web applications while making CSS code development an enjoyable experience.
Table of Contents (15 chapters)
Less Web Development Essentials
About the Author
About the Reviewers

Chapter 5. Integrate Less in Your Own Projects

Now it's time to integrate Less in your workflow and projects. In this chapter, you will learn to migrate your current projects or start a new project from scratch using Less. The techniques and tools to convert your CSS code to Less code will be discussed, and finally, you will learn to build and use responsive grids with Less.

This chapter will cover the following topics:

  • Importing CSS into Less

  • Migrating your projects to Less

  • Starting a project from scratch

  • Media queries and responsive design

  • Using grids in your projects and designs

While working with Less and seeing how it addresses the problems of duplicate code and the inability to reuse your CSS, you should have wondered when to start using Less for your projects. Although this may be the most important question of this book, the answer is quite simple. You will have to start now! The problems with CSS can be some defects in your design process. There will never be an excuse to not solve the...