-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathBootstrapOne.html
More file actions
50 lines (40 loc) · 1.11 KB
/
BootstrapOne.html
File metadata and controls
50 lines (40 loc) · 1.11 KB
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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<style type="text/css">
div {
text-align: center;
}
.header,
.footer {
height: 25px;
background-color: orange;
border: 1px solid black;
}
.nav,
.body {
height: 200px;
background-color: yellow;
border: 1px solid black;
}
</style>
</head>
<body>
<!-- Add the correct Bootstrap classes to achieve the desired result. The styling defined above has already been applied. -->
<div class="container">
<div class="row">
<div class="header col-lg-12 col-md-12 col-sm-12 col-xs-12">Header</div>
</div>
<div class="row">
<div class="nav col-lg-2 col-md-2 col-sm-2 col-xs-2">Nav</div>
<div class="body col-lg-10 col-md-10 col-sm-10 col-xs-10">Body</div>
</div>
<div class="row">
<div class="footer col-lg-12 col-md-12 col-sm-12 col-xs-12">Footer</div>
</div>
</div>
</body>
</html>