front-page new structure with module-gallery and content and footer logo-gallery
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="description" content="">
8 <meta name="author" content="">
9 <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
11 <title>Grid Template for Bootstrap</title>
13 <!-- Bootstrap core CSS -->
14 <link href="../../dist/css/bootstrap.css" rel="stylesheet">
16 <!-- Custom styles for this template -->
17 <link href="grid.css" rel="stylesheet">
19 <!-- Just for debugging purposes. Don't actually copy this line! -->
20 <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22 <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
24 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
25 <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
30 <div class="container">
32 <div class="page-header">
33 <h1>Bootstrap grid examples</h1>
34 <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
37 <h3>Three equal columns</h3>
38 <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>
40 <div class="col-md-4">.col-md-4</div>
41 <div class="col-md-4">.col-md-4</div>
42 <div class="col-md-4">.col-md-4</div>
45 <h3>Three unequal columns</h3>
46 <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>
48 <div class="col-md-3">.col-md-3</div>
49 <div class="col-md-6">.col-md-6</div>
50 <div class="col-md-3">.col-md-3</div>
54 <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>
56 <div class="col-md-8">.col-md-8</div>
57 <div class="col-md-4">.col-md-4</div>
60 <h3>Full width, single column</h3>
61 <p class="text-warning">No grid classes are necessary for full-width elements.</p>
65 <h3>Two columns with two nested columns</h3>
66 <p>Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>
67 <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>
69 <div class="col-md-8">
72 <div class="col-md-6">.col-md-6</div>
73 <div class="col-md-6">.col-md-6</div>
76 <div class="col-md-4">.col-md-4</div>
81 <h3>Mixed: mobile and desktop</h3>
82 <p>The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>
83 <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>
85 <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
86 <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
89 <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
90 <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
91 <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
94 <div class="col-xs-6">.col-xs-6</div>
95 <div class="col-xs-6">.col-xs-6</div>
100 <h3>Mixed: mobile, tablet, and desktop</h3>
103 <div class="col-xs-12 col-sm-6 col-lg-8">.col-xs-12 .col-sm-6 .col-lg-8</div>
104 <div class="col-xs-6 col-lg-4">.col-xs-6 .col-lg-4</div>
107 <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
108 <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
109 <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
114 <h3>Column clearing</h3>
115 <p>Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.</p>
117 <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
118 <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
120 <!-- Add the extra clearfix for only the required viewport -->
121 <div class="clearfix visible-xs"></div>
123 <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
124 <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
129 <h3>Offset, push, and pull resets</h3>
130 <p>Reset offsets, pushes, and pulls at specific breakpoints.</p>
132 <div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
133 <div class="col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div>
136 <div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
137 <div class="col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div>
141 </div> <!-- /container -->
144 <!-- Bootstrap core JavaScript
145 ================================================== -->
146 <!-- Placed at the end of the document so the pages load faster -->