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:
- Download and unzip the Bootstrap files into a folder.
- Create an HTML file called
bootstrap_exampleand save it in the same folder where you saved the Bootstrap files.
The code for the
bootstrap_exampleHTML 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 ...