Less Web Development Cookbook
eBook - ePub

Less Web Development Cookbook

Bass Jobsen, Amin Meyghani

Condividi libro
  1. 394 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Less Web Development Cookbook

Bass Jobsen, Amin Meyghani

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Less Web Development Cookbook è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Less Web Development Cookbook di Bass Jobsen, Amin Meyghani in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatik e Content-Management-Systeme. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti