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

Setting client criteria


The hardest part of working with media queries isn't in the design of the code, but in agreeing with clients as to what devices should be supported!

Some clients might want to have the same experience throughout their site, irrespective of the device or platform being used to view the content. This might have worked when the Internet was still being viewed on normal-sized screens. This is no longer the case; more and more people are viewing content on mobile or other such devices. The use of mobile devices is such that numbers are increasing rapidly, to the extent that they will soon overtake those who still use a desktop PC to view content.

The phrase, "Expectation is the root of all heartache" (from an anonymous source, but often misquoted as being Shakespeare), is particularly apt—it is key in deciding what should and should not be included in each breakpoint; if not, you are more likely to land yourself in trouble with your client!

When creating media queries as...