Book Image

Less Web Development Cookbook

Book Image

Less Web Development Cookbook

Overview of this book

Table of Contents (19 chapters)
Less Web Development Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Improving your website's SEO with 3L mixins


In modern web design, search engine optimization (SEO) cannot be ignored. The Lots of Love for Less, or, in short, 3L, mixins library provides you with a lot of mixins for single-line declarations that can also be found in other libraries. 3L also contains a mixin called SEO helper. This .seo-helper() mixin generates the CSS code that makes common mistakes about SEO in your web pages visible.

Getting ready

First, download the latest version of the 3L library from http://mateuszkocz.github.io/3l/. The compiled CSS code of this recipe can be loaded into an existing web page to make common SEO issues visible. Use a modern browser to load the Less code together with the client-side less.js compiler in a web page. In the Downloading, installing, and integrating less.js recipe in Chapter 1, Getting to Grips with the Basics of Less, you can read about how to use and install the client-side less.js compiler.

How to do it…

  1. First, download and unzip the 3L...