O'Reilly logo

Learning Bootstrap by Ulrich Sossou, Aravind Shenoy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Putting it all together

Until now, we have discussed the various aspects of Bootstrap with LESS. We are not using the Bootstrap CSS CDN in this example as we are going to alter the bootstrap.less file, which will compile to bootstrap.css using the WinLess compiler.

You will now implement the knowledge you gained in a step-by-step approach:

  1. Download and unzip the Bootstrap files into a folder.
  2. Create an HTML file called bootstrap_example and save it in the same folder where you saved the Bootstrap files.

    The code for the bootstrap_example HTML document is as follows:

    <!DOCTYPE html> <html> <head> <title>BootStrap with Packt</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Downloaded Bootstrap ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required