Less Web Development Cookbook
eBook - ePub

Less Web Development Cookbook

Bass Jobsen, Amin Meyghani

Share book
  1. 394 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Less Web Development Cookbook

Bass Jobsen, Amin Meyghani

Book details
Book preview
Table of contents
Citations

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Less Web Development Cookbook an online PDF/ePUB?
Yes, you can access Less Web Development Cookbook by Bass Jobsen, Amin Meyghani in PDF and/or ePUB format, as well as other popular books in Informatik & Content-Management-Systeme. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781783981489

Less Web Development Cookbook


Table of Contents

Less Web Development Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting to Grips with the Basics of Less
Introduction
Downloading, installing, and integrating less.js
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Installing the lessc compiler with npm
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using less.js with Rhino
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Declaring variables with Less for commonly used values
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Setting the properties of CSS styles with mixins
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Writing more intuitive code and making inheritance clear with nested rules
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Creating complex relationships between properties
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using the built-in functions of Less
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using namespaces to make your code reusable and portable
Getting ready
How to do itā€¦
How it worksā€¦
2. Debugging and Documenting Your Less Code
Introduction
Debugging your code with less.js
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using CSS source maps to debug your code
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using Chrome Developer Tools to debug your code
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Commenting your code in Less
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Building style guides with tdcss.js
Getting ready
How to do itā€¦
How it worksā€¦
See also
Building style guides with StyleDocco
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
3. Using Variables and Mixins
Introduction
Deriving a set of variables from a single base variable
Getting ready
How to do itā€¦
How it worksā€¦
See also
Value escaping with the ~"value" syntax
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using variable interpolation
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Redeclaring variables based on lazy loading
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using mixins to set properties
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Declaring a class and mixin at once
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using selectors inside mixins
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using parametric mixins
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
4. Leveraging the Less Built-in Functions
Introduction
Converting units with the convert() function
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using the default() function
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Embedding images with data URIs
Getting ready
How to do it
How it worksā€¦
There's moreā€¦
See also
Formatting strings
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Replacing a text within a string
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Working with lists
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using mathematical functions
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using the color() function
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Evaluating the type of a value
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Creating color objects with RGB values
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Getting information about a color
Getting ready
How to do itā€¦
How it worksā€¦
See also
Creating a color variant with the darken() and lighten() functions
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Creating overlays of two colors with Less
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
5. Extending and Referencing
Introduction
Referencing parent selectors with the & operator
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Referencing to the parent selector more than once
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Changing the selecting order with the & operator
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using extend to merge selectors
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using extend in...

Table of contents