Skip to content

Commit c7564ee

Browse files
committed
Adding Sample Bootstrap CSS Page
1 parent 58aa43b commit c7564ee

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

Codea-Step17.md

+66
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
Bootstrap Sample Page
2+
```
3+
<!DOCTYPE html>
4+
<html>
5+
<head>
6+
<title>Todos</title>
7+
<link href="webjars/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
8+
9+
<style>
10+
.footer {
11+
position: absolute;
12+
bottom: 0;
13+
width: 100%;
14+
height: 60px;
15+
background-color: #f5f5f5;
16+
}
17+
18+
.footer .container {
19+
width: auto;
20+
max-width: 680px;
21+
padding: 0 15px;
22+
}
23+
</style>
24+
</head>
25+
26+
<body>
27+
28+
<nav role="navigation" class="navbar navbar-default">
29+
30+
<div class="">
31+
<a href="/" class="navbar-brand">Brand</a>
32+
</div>
33+
34+
<div class="navbar-collapse">
35+
<ul class="nav navbar-nav">
36+
<li class="active"><a href="#">Home</a></li>
37+
<li><a href="/todo.do">Todos</a></li>
38+
<li><a href="http://www.in28minutes.com">In28Minutes</a></li>
39+
</ul>
40+
<ul class="nav navbar-nav navbar-right">
41+
<li><a href="/login.do">Login</a></li>
42+
</ul>
43+
</div>
44+
45+
</nav>
46+
47+
<div class="container">
48+
<H1>Heading</H1>
49+
Body of the Page
50+
</div>
51+
52+
<footer class="footer">
53+
<div class="container">
54+
<p>footer content</p>
55+
</div>
56+
</footer>
57+
58+
<script src="webjars/jquery/1.9.1/jquery.min.js"></script>
59+
<script src="webjars/bootstrap/3.2.0/js/bootstrap.min.js"></script>
60+
61+
</body>
62+
63+
</html>
64+
65+
```
66+
167
pom.xml
268
```
369
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)