Leverage the features of Less to write better, reusable, and maintainable CSS code If you use CSS for web development tasks and want to learn how to create maintainable and reusable code, this is the book for you. Basic knowledge of web development would be helpful. Less is a preprocessor for CSS that uses less.js for real-time compilation, unlike other preprocessors. Building responsive websites with advanced features such as gradients and animations makes your CSS code complex. Less helps you to write clean, reusable, and maintainable CSS. Starting off with the fundamental concepts of Less and CSS, you are taken on a tour of how to improve your web development skills with Less. Next, you get to grips with mixins and variables in Less, which help you to avoid code duplication and write reusable code. Then, you venture into the concepts of nested rules, operations, and built-in functions, which help you in the dynamic creation of CSS properties and help you to create shorter and effective style sheets. By the end of the book, you will be able to develop code faster and reduce the maintenance time for your web development projects.
Less is a compiler for CSS. Why do I feel I need to start a review with that? Because this book focuses a lot more on CSS than Less. Actually, I may have learnt more about CSS than what it was expected to learn. There is nothing wrong talking more about the base technology when the piece you're talking about is built on it, but when you talk a lot more about the first and not the second, you have to seriously reconsider your book title.
Another thing that annoys me is when the author keeps talking about the examples outside the book. "Check the examples which you can download in the previous URL" is lazy explanation. Instead of building knowledge blocks and then expand over them, the book uses the lazy escape of not telling you anything and expecting yo to read things somewhere else.
In the end, it's a nice book to learn a thing or two about modern CSS, but barely something good about Less.
Sono stato indeciso tra due e tre stelle, ma ho deciso per due perché, alla fin fine, non è molto di più del manuale online. Anzi, per alcune cose è anche di meno.
Spiega le basi (come scrivere codice LESS, come creare variabili, come fare i mixin) e qualche volta si spinge un po' oltre (come fare mixin ricorsivi), ma non riesce ad essere chiaro nelle spiegazioni, e, soprattutto per le funzioni interne, si limita a descriverne 3 o 4 e a lasciare il resto "come esercizio".
Abbastanza inutile, se avete una connessione a Internet e potete leggere il manuale ufficiale online.
The book contains practical examples of the use of variables, mixins and nested rules. Media queries and responsive design are explained very well. Good book to get started with Less. I would recommend it.