LEADER 05066nam 2200637 450 001 9910821528703321 005 20200520144314.0 010 $a1-78216-067-1 035 $a(CKB)3710000000268236 035 $a(EBL)1825960 035 $a(SSID)ssj0001410569 035 $a(PQKBManifestationID)11772370 035 $a(PQKBTitleCode)TC0001410569 035 $a(PQKBWorkID)11379285 035 $a(PQKB)10248925 035 $a(Au-PeEL)EBL1825960 035 $a(CaPaEBR)ebr10962329 035 $a(CaONFJC)MIL654180 035 $a(OCoLC)895288420 035 $a(CaSebORM)9781782160663 035 $a(MiAaPQ)EBC1825960 035 $a(PPN)228017688 035 $a(EXLCZ)993710000000268236 100 $a20141111d2014 uy| 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aLearning Less.js $edevelop attractive CSS styles efficiently, using the Less CSS preprocessor /$fAlex Libby 205 $a1st edition 210 1$aBirmingham :$cPackt Publishing,$d2014. 215 $a1 online resource (342 p.) 225 1 $aCommunity experience distilled 300 $aIncludes index. 311 $a1-322-22900-7 311 $a1-78216-066-3 327 $aCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing Less; The role of HTML and CSS; The limitations of using CSS; The benefits of using CSS preprocessors; Why not just write normal CSS?; Introducing Less as a solution; Why you should use Less; Reducing redundancy with variables; Understanding the syntax of variables; Creating reusable blocks of code; Generating values automatically; Forgetting about vendor prefixes; Creating media queries and animation the simple way; Reusing code across multiple projects 327 $aCompressing CSS automatically for faster websitesSupporting CSS4 standards within Less; Supporting future CSS standards within Less; Summary; Chapter 2: Building a Less Development Toolkit; Choosing an IDE or editor; Installing Sublime Text 2; Adding Less syntax support; Compiling Less files with a standalone compiler; WinLess; SimpLESS; Koala; Installing Crunch!; Compiling from the command line; Watching for changes to Less files; Compiling Less files directly from text editors; Installing the compilation support via a package; Debugging Less in browsers 327 $aDebugging the Less code using FirefoxDebugging the Less code in Chrome; Installing WampServer; Other useful tools; Summary; Chapter 3: Getting Started with Less; Creating the foundation page; Downloading and installing Less; Installing Less on the client side; Using a CDN; Installing Less on the server side; Installing Less using Node; Installing Less using Bower; Using the Bower package; The dangers of using Less on the client side; Exploring the syntax used by Less; Working with variables; Changing variables programmatically; Creating mixins; Nesting styles in Less 327 $aCalculating values using operationsExtending existing styles in Less; Compiling the code and viewing results; Using a standalone compiler; Using the command-line compiler; Compiling Less files using the command line; Watching for changes in Watch mode; Summary; Chapter 4: Working with Variables, Mixins, and Functions; Discovering variables in Less; Creating Polaroid images; Loading variables and setting the scope; Exploring mixins; Creating a web form; Adding basic mixins; Hiding the original mixin; Using the !important keyword; Developing parametric mixins; Passing multiple parameters 327 $aApplying conditions to mixinsUsing special keywords; Creating mixins as functions; Using external libraries; Introducing functions; Creating column-based layouts; Moving calculations to a mixin; Working with the data-uri function; Using the data-uri function - some words of caution; Summary; Chapter 5: Inheritance, Overriding, and Nesting in Less; Nesting styles in Less; Creating a business card; Examining the process in detail; Inheriting and overriding styles with extend; Using extend to create information alerts; Extending using the all keyword; Namespacing in Less 327 $aLazy loading of variables in Less 330 $aIf you are a designer or developer who wants to quickly learn how to harness the power of Less.js to write more efficient CSS styles that can be applied to a website of any size, then this book is for you. This book will help you master both the basic functions and advanced features of Less.js. It would be helpful to have some familiarity of writing CSS styles, although no prior experience of using CSS preprocessors is required. 410 0$aCommunity experience distilled. 606 $aCascading style sheets 615 0$aCascading style sheets. 676 $a005.268 700 $aLibby$b Alex$0854085 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910821528703321 996 $aLearning Less.js$94109454 997 $aUNINA