Book Image

Learning Bootstrap

Book Image

Learning Bootstrap

Overview of this book

Table of Contents (15 chapters)
Learning Bootstrap
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Getting Started with Bootstrap
Index

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 CSS -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <!-- JavaScript plugins (requires jQuery) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt...