-
Notifications
You must be signed in to change notification settings - Fork 2
/
myexample.html
67 lines (58 loc) · 1.73 KB
/
myexample.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>My example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="screen"/>
<style>
.blue{
background-color: blue;
height: 300px
}
.yellow{
background-color: yellow;
height: 300px
}
.red{
background-color: red;
height: 300px
}
.black{
background-color: black;
height: 300px
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-8 blue"></div>
<div class="col-md-4 yellow"></div>
</div>
<div class="row">
<div class="col-md-12 red"></div>
</div>
<div class="row">
<div class="col-md-3 blue"></div>
<div class="col-md-4 yellow"></div>
<div class="col-md-5 black"></div>
</div>
<div class="row">
<div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
<div class="row">
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<!-- Columns are always 50% wide, on mobile and desktop -->
<div class="row">
<div class="col-xs-6">.col-xs-6</div>
<div class="col-xs-6">.col-xs-6</div>
</div>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>