2013-06-24 02:17:08 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
2013-07-21 08:17:01 +02:00
|
|
|
<title>Grid Template for Bootstrap</title>
|
2013-06-24 02:17:08 +02:00
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
2013-07-27 05:42:47 +02:00
|
|
|
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
|
2013-06-24 02:17:08 +02:00
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
2013-07-21 08:30:08 +02:00
|
|
|
<link href="grid.css" rel="stylesheet">
|
2013-06-24 02:17:08 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<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">
|
|
|
|
<div class="col-lg-4">.col-lg-4</div>
|
|
|
|
<div class="col-lg-4">.col-lg-4</div>
|
|
|
|
<div class="col-lg-4">.col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Three unequal columns</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3">.col-lg-3</div>
|
|
|
|
<div class="col-lg-6">.col-lg-6</div>
|
|
|
|
<div class="col-lg-3">.col-lg-3</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Two columns</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8">.col-lg-8</div>
|
|
|
|
<div class="col-lg-4">.col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Full width, single column</h4>
|
|
|
|
<p class="text-warning">No grid classes are necessary for full-width elements.</p>
|
|
|
|
|
|
|
|
<h4>Two columns with two nested columns</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8">
|
|
|
|
.col-lg-8
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6">.col-lg-6</div>
|
|
|
|
<div class="col-lg-6">.col-lg-6</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">.col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Mixed: mobile and desktop</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-8">.col-12 .col-lg-8</div>
|
|
|
|
<div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
<div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
<div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
|
|
|
|
<div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h4>Mixed: mobile, tablet, and desktop</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-sm-8 col-lg-8">.col-12 .col-lg-8</div>
|
|
|
|
<div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
<div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
<div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
|
|
|
|
<div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <!-- /container -->
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|