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
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Semantic UI – another Less framework


Semantic can be used to build frontends too. Just like Bootstrap, it contains CSS components and modules. Components have been split up in to elements, collections, and views. Modules require not only CSS, but also JavaScript.

Semantic's name already makes clear that it pays attention to the semantics of HTML5. It is also tag-agnostic, which means you can use any HTML tags with UI elements.

In the following code, you will find a short HTML example that shows how Semantic is intended to be used:

<main class="ui three column grid">
  <aside class="column">1</aside>
  <section class="column">2</section>
  <section class="column">3</section>
</main>

Also, Semantic has been built with Less. The complete source, including the Less files, can be downloaded from https://github.com/semantic-org/semantic-ui/.

The way Semantic handles Less differs from Bootstrap and most of the examples you have seen earlier in this book...