Book Image

Practical Web Development

By : Paul Wellens
Book Image

Practical Web Development

By: Paul Wellens

Overview of this book

Table of Contents (23 chapters)
Practical Web Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
10
XML and JSON
Index

Bootstrap components


You can download Bootstrap from http://getbootstrap.com in more than one flavor. The smallest download is a simple distribution that contains all the components you need to deploy systems. The source distribution has the same in a subfolder but also contains docs, less, JavaScript sources, (broken down by component), and examples, all of which make great study material.

Here, we will focus on the minimal distribution. On my system, I have placed them all in the bootstrap folder to make it easier to switch releases and to maintain a flavor of Foundation as well as Bootstrap on the site.

Note

Note that Bootstrap depends on jQuery. Unlike Foundation, the Bootstrap distribution does not come with jQuery, so you need to obtain your copy elsewhere (or use the one that comes with Foundation, of course).

Here's what you will get with the Bootstrap download:

  • css: This is a folder that contains bootstrap.css and bootstrap.min.css, Bootstrap's stylesheets. Include one of these in the <head> section of your site. In addition, include your own stylesheet. We recommend that you don't modify bootstrap.css.

    The folder also contains the stylesheet for the optional Bootstrap theme.

  • js/bootstrap.min.js and js/bootstrap.js: This contains all the Bootstrap JavaScript. Put this right before the end of your <body> tag.

  • Fonts: This is a folder containing glyph icons fonts. We stick to the awesome font-awesome fonts.