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 ...

Get Learning Bootstrap now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.