Leverage the options of Less to put in writing higher, reusable, and maintainable CSS code
About This BookMeet the DRY (Don’t Repeat Your self) precept of software coding on your web improvement tasks by avoiding code duplicationShorten the debugging time of complicated CSS code with Less for particular devices and browsersA complete, quick-paced information that covers the important ideas of Less by means of sensible and properly-defined code
Who This Ebook Is For
For those who use CSS for web improvement duties and need to discover ways to create maintainable and reusable code, that is the book for you. Primary information of web improvement can be useful.
What You Will LearnDiscover how you can debug your code successfully by establishing an automated construct course of with Grunt and GulpExplore the ideas of mixins and variables in Less to script reusable CSS codeUse postprocessors to autoprefix, compress, and optimize your CSS codeCreate complicated relationships between properties and use the constructed-in features of Less to write down your personal functionsBuild a responsive grid with Less to make sure a logical and formal construction for designsDevelop web purposes with Less and combine it together with your WordPress themes utilizing different CSS frameworks and grid methods
Less is a preprocessor for CSS that makes use of much less.js for actual-time compilation, in contrast to different preprocessors. Constructing responsive websites with superior options similar to gradients and animations makes your CSS code complicated. Less lets you write clear, reusable, and maintainable CSS.
Beginning off with the elemental ideas of Less and CSS, you’re taken on a tour of the best way to enhance your web improvement expertise with Less.
Subsequent, you familiarize yourself with mixins and variables in Less, which make it easier to to keep away from code duplication and write reusable code. Then, you enterprise into the ideas of nested guidelines, operations, and constructed-in features, which make it easier to within the dynamic creation of CSS properties and allow you to to create shorter and efficient type sheets.
By the top of the book, it is possible for you to to develop code quicker and scale back the upkeep time on your web improvement tasks.