2013-04-01 21:55:48 +02:00
|
|
|
---
|
|
|
|
layout: example
|
|
|
|
title: Grid template
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.container {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2013-04-29 04:22:33 +02:00
|
|
|
[class*="col-lg-"] {
|
2013-04-01 21:55:48 +02:00
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border: 1px solid #e5e5e5;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<h2>Bootstrap grids</h2>
|
|
|
|
<p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
|
|
|
|
|
|
|
|
<h4>Three equal columns</h4>
|
|
|
|
<div class="row">
|
2013-04-29 04:22:33 +02:00
|
|
|
<div class="col col-lg-4">.col .col-lg-4</div>
|
|
|
|
<div class="col col-lg-4">.col .col-lg-4</div>
|
|
|
|
<div class="col col-lg-4">.col .col-lg-4</div>
|
2013-04-01 21:55:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Three unequal columns</h4>
|
|
|
|
<div class="row">
|
2013-04-29 04:22:33 +02:00
|
|
|
<div class="col col-lg-3">.col .col-lg-3</div>
|
|
|
|
<div class="col col-lg-6">.col .col-lg-6</div>
|
|
|
|
<div class="col col-lg-3">.col .col-lg-3</div>
|
2013-04-01 21:55:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Two columns</h4>
|
|
|
|
<div class="row">
|
2013-04-29 04:22:33 +02:00
|
|
|
<div class="col col-lg-8">.col .col-lg-8</div>
|
|
|
|
<div class="col col-lg-4">.col .col-lg-4</div>
|
2013-04-01 21:55:48 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Full width, single column</h4>
|
|
|
|
<p class="text-muted">No grid classes are necessary for full-width elements.</p>
|
|
|
|
|
|
|
|
</div> <!-- /container -->
|