-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path03-page-layout-grid.html
More file actions
56 lines (49 loc) · 1.04 KB
/
03-page-layout-grid.html
File metadata and controls
56 lines (49 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Page Layout with Grid</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/base.css" />
<style type="text/css">
body {
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto;
}
header,
footer {
padding: 2rem;
background-color: rgb(54, 54, 58);
}
section {
padding: 2rem;
background-color: rgb(26, 26, 26);
}
h1 {
color: rgb(131, 250, 250);
margin: 0;
}
p {
padding-top: 0.5rem;
max-width: 48rem;
line-height: 1.6;
}
</style>
</head>
<body>
<header>
<h2>Brand Logo</h2>
</header>
<section>
<h1>Main Content</h1>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati, laudantium sint ea eveniet consectetur
tempore sapiente perferendis nemo corporis suscipit, amet tempora consequuntur quisquam temporibus, natus
libero. Totam, quisquam architecto?
</p>
</section>
<footer>
<small>Copyrights © 2023</small>
</footer>
</body>
</html>