-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
61 lines (52 loc) · 1.41 KB
/
example.html
File metadata and controls
61 lines (52 loc) · 1.41 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
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sticky footer</title>
<style>
body {
background-color: #212529;
font-size: 16px;
margin: 0px 0px;
}
div{
color: white;
}
a{
color: #6EA8FE;
}
#div_room{
font-size: 2.5rem;
margin-left: 508px;
margin-right: 508px;
margin-top: 45px;
}
#div_room1{
font-size: 1.2rem;
margin-left: 508px;
margin-top: 15px;
}
#div_room2{
padding-bottom: 660px;
}
#div_room3{
background-color: rgb(224, 228, 231);
margin-left:-1ch;
height:50px;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
</head>
<body>
<div id="div_room">Sticky footer</div>
<div id="div_room1">Pin a footer to the bottom of the viewport in desktop browsers with this<br> custom HTML and CSS.</div>
<div id="div_room1">Use <a href="../examples/sticky-footer-navbar/">the sticky footer with a fixed navbar</a> if need be, too.</div>
<div id="div_room2"></div>
<div id="div_room3"></div>
</body>
</html>