Skip to content

Commit b6a8ba5

Browse files
committed
layout basic structure
1 parent 4601e9e commit b6a8ba5

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
6+
name="viewport">
7+
<meta content="ie=edge" http-equiv="X-UA-Compatible">
8+
<title>Application Layout</title>
9+
<style>
10+
* {
11+
margin: 0;
12+
padding: 0;
13+
box-sizing: border-box;
14+
}
15+
16+
body {
17+
font-family: sans-serif;
18+
color: #343a40;
19+
font-size: 24px;
20+
21+
height: 100vh;
22+
23+
display: grid;
24+
grid-template-columns: 80px 400px 1fr 250px;
25+
grid-template-rows: 80px 1fr;
26+
text-align: center;
27+
font-weight: bold;
28+
}
29+
30+
nav, menu, section, main, aside {
31+
padding-top: 24px;
32+
}
33+
34+
nav {
35+
background-color: #343a40;
36+
color: #fff;
37+
grid-row: 1 / -1;
38+
}
39+
40+
menu {
41+
background-color: #7048e8;
42+
color: #fff;
43+
grid-column: 2 / -1;
44+
}
45+
46+
section {
47+
background-color: #e9ecef;
48+
}
49+
50+
aside {
51+
background-color: #e9ecef;
52+
}
53+
54+
</style>
55+
</head>
56+
<body>
57+
<nav>Nav</nav>
58+
<menu>Menu</menu>
59+
<section>Inbox</section>
60+
<main>Email view</main>
61+
<aside>Additional Info</aside>
62+
</body>
63+
</html>

0 commit comments

Comments
 (0)