Less Web Development Essentials, 2nd Edition Год: 2015 Автор: Bass Jobsen Издательство: Packt Publishing ISBN: 978-1-78355-407-2 Язык: Английский Формат: PDF/EPUB/MOBI Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 270 Описание: About This Book Meet the DRY (Don’t Repeat Yourself) principle of software coding for your web development projects by avoiding code duplication Shorten the debugging time of complex CSS code with Less for specific devices and browsers A comprehensive, fast-paced guide that covers the essential concepts of Less through practical and well-explained code Who This Book Is For 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. What You Will Learn Discover how to debug your code effectively by setting up an automatic build process with Grunt and Gulp Explore the concepts of mixins and variables in Less to script reusable CSS code Use postprocessors to autoprefix, compress, and optimize your CSS code Create complex relationships between properties and use the built-in functions of Less to write your own functions Build a responsive grid with Less to ensure a logical and formal structure for designs Develop web applications with Less and integrate it with your WordPress themes using other CSS frameworks and grid systems In Detail 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.
Примеры страниц
Оглавление
Preface Chapter 1: Improving Web Development with Less Using CSS3 for styling your HTML Compiling Less Your first layout in Less Preventing cross-browser issues with CSS resets CSS transitions, transformations, and animations Box-sizing Server-side compiling The OOCSS, SMACSS, and BEM methodologies Chapter 2: Using Variables and Mixins Using comments in Less Using variables Variable interpolation Escaping values Using mixins Chapter 3: Nested Rules, Operations, and Built-in Functions The navigation structure Working with nested rules Referencing the parent selector with the & symbol Passing rulesets to mixins Operating on numbers, colors, and variables Property merging Built-in functions The box-shadow mixin Chapter 4: Testing Your Code and Using Prebuilt Mixins Libraries Revisiting the CSS background gradients Testing your code Prebuilt mixins Integrating other techniques into your projects using Less Chapter 5: Integrating Less in Your Own Projects Importing CSS into Less Migrating your project to Less Media queries and responsive design Using grids in your designs and workflow Building your project with a responsive grid Using the grid mixins to build a semantic layout Extending your grids Chapter 6: Using the Bootstrap 3 Frontend Framework Introduction to Bootstrap Chapter 7: Less with External Applications and Frameworks Cardinal CSS Using Semantic UI with Less Deploying Ionic with Less Frameworks for building your grids with Less WordPress and Less Using Less with the Play framework AngularJS and Less Meteor and Less Ruby on rails and Less Alternative compilers for compiling your Less code Index
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum