05172nam 2200637 450 991079091550332120200520144314.01-78398-147-4(CKB)2550000001280433(EBL)1674869(SSID)ssj0001216463(PQKBManifestationID)11817424(PQKBTitleCode)TC0001216463(PQKBWorkID)11197045(PQKB)11328309(MiAaPQ)EBC1674869(Au-PeEL)EBL1674869(CaPaEBR)ebr10865430(CaONFJC)MIL601711(OCoLC)878920198(PPN)228027535(EXLCZ)99255000000128043320140508h20142014 uy 0engur|n|---|||||txtccrLess web development essentials use CSS preprocessing to streamline the development and maintenance of your web applications /Bass Jobsen ; cover image by Faiz J. FattohiBirmingham, England :Packt Publishing,2014.©20141 online resource (202 p.)Community Experience DistilledIncludes index.1-78398-146-6 1-306-70460-X Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Improving Web Development with Less; Using CSS3 for styling your HTML; Using CSS Selectors to style your HTML; Specificity, Inheritance, and Cascade in CSS; How CSS specificity works; Building your layouts with flexible boxes; Compiling Less; Getting started with Less; Using the watch function for automatic reloading; Debugging your code; Example code used in this book; Your first layout in Less; Vendor-specific rulesBuild rounded corners with border-radiusPreventing cross-browser issues with CSS resets; Creating background gradients; CSS transitions, transformations, and animations; Box-sizing; Server-side compiling; Compressing and minimizing your CSS; Graphical user interfaces; Summary; Chapter 2: Using Variables and Mixins; Comments; Nested comments; Special comments; Variables; Organizing your files; Naming your variables; Using a variable; Organizing variables; The last declaration wins; Variable declaration is not static; Lazy loading; Escaping values; Mixins; Basic mixins; Parametric mixinsDefault valuesNaming and calling; Multiple parameters; More complex mixins for linear gradient backgrounds; Special variables - @arguments and @rest; Return values; Changing the behavior of a mixin; Switches; Argument matching; Guarded mixins; Using guards and argument matching to construct loops; The !important keyword; Summary; Chapter 3: Nested Rules, Operations, and Built-in Functions; The navigation structure; Nested rules; Mixins and classes; Variables; Classes and namespaces; Operating on numbers, colors, and variables; The & symbol; Property merging; Built-in functions; JavaScriptList functionsUsing color functions; The darken() and lighten() functions; Color manipulation; Color operations; Color blending with Less; Type functions; The box-shadow mixin; Summary; Chapter 4: Avoid Reinventing the Wheel; Revisiting background gradients; Unused code; Chrome's developer tools; Firebug CSS usage add-on; Testing your code; Understanding TDD; All about style guides; Building a style guide with StyleDocco; Testing your code with tdcss.js; Prebuilt mixins; Using single-line declarations for vendor-specific rules with Less Elements; Less Hat - a comprehensive library of mixinsUsing the 3L library of prebuilt mixinsSEO and HTML debugging; ClearLess - another library of prebuilt mixins; Using Preboot's prebuilt mixins for your project; Integrating other techniques into your projects using Less; Using iconic fonts; Retina.js; Summary; Chapter 5: Integrate Less in Your own Projects; Importing CSS into Less; Using the @import rule; Migrating your project; Organizing your files; Converting CSS code to Less code; Media queries and responsive design; Making your layout fluid; Testing your layouts on a mobile phone; Coding first for mobileUsing grids in your designs and work flowWritten in a practical and concise manner, this book is a crash-course in teaching you the fundamental concepts of Less with real-life examples and problems.If you use CSS(3) in your web development tasks and would love to learn how to create maintainable and reusable code with Less, this book is ideal for you. Although you need to have some experience in web development, even beginners will find that this book is useful.Community experience distilled.Web site developmentWeb site development.005.276Jobsen Bass1107402Fattohi Faiz J.MiAaPQMiAaPQMiAaPQBOOK9910790915503321Less web development essentials3748787UNINA