"Bootstrap - Microsoft Metro Tiles"
Bootstrap 3.2.0 Snippet by betdream

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-md-12">
<h1><strong>Bootstrap - Microsoft Metro Tiles</strong></h1>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="tile purple">
<h3 class="title">Purple Tile</h3>
<p>Hello Purple, this is a colored tile.</p>
</div>
</div>
<div class="col-sm-4">
<div class="tile red">
<h3 class="title">Red Tile</h3>
<p>Hello Red, this is a colored tile.</p>
</div>
</div>
<div class="col-sm-4">
<div class="tile orange">
<h3 class="title">Orange Tile</h3>
<p>Hello Orange, this is a colored tile.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="tile green">
<h3 class="title">Green Tile</h3>
<p>Hello Green, this is a colored tile.</p>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body {
font-family: "Open Sans", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
line-height: 1.5em;
font-weight: 400;
}
p, span, a, ul, li, button {
font-family: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
}
strong {
font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Open Sans", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
line-height: 1.5em;
font-weight: 300;
}
strong {
font-weight: 400;
}
.tile {
width: 100%;
display: inline-block;
box-sizing: border-box;
background: #fff;
padding: 20px;
margin-bottom: 30px;
}
.tile .title {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: