The Preboot library of the Less variables and mixins has been created by Mark Otto (@mdo
), and can be seen as the precursor of Twitter's Bootstrap. In this recipe, you will use the Preboot library to create retina-ready images.
Although many improvements of the mixins and code are brought back from Bootstrap to the second version of Preboot, Bootstrap is more powerful to start a project in most situations. You can read more about Bootstrap in Chapter 9, Using Bootstrap with Less.
You can download the Preboot library from http://getpreboot.com/. Unzip the ZIP archive into your working directory, and use the command-line lessc
compiler, as described in the Installing the lessc compiler with npm recipe in Chapter 1, Getting to Grips with the Basics of Less to compile your Less code.