Professional Documents
Culture Documents
Ravindra Reddy
About bootstrap
1. Bootstrap is a free front-end framework for faster and easier web development
2. Bootstrap includes HTML and CSS based design templates for typography, forms, buttons, tables,
navigation, modals, image carousels and many other, as well as optional JavaScript plugins
3. Bootstrap also gives you the ability to easily create responsive designs
Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter, and released as an open source
product in August 2011 on GitHub.
.container
class provides a responsive fixed width container
.container-fluid
class provides a full width container, spanning the entire width of the viewport
Order of placement
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
</head>
Grid classes
<div class="row">
<div class="col-md-6"></div>
<div class="col-md-6"></div>
</div>
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-2"></div>
<div class="col-md-6"></div>
</div>
First; create a row (<div class="row">). Then, add the desired number of
Contextual Colors
1. text-muted,
2. .text-primary
3. .text-success,
4. .text-info,
5. .text-warning
6. .text-danger:
Contextual background clas
1. .bg-primary,
2. .bg-success
3. .bg-info
4. .bg-warning
5. .bg-danger:
Contextual background clas
1. .bg-primary,
2. .bg-success
3. .bg-info
4. .bg-warning
5. .bg-danger:
Bootstrap tables