-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex3.css
More file actions
42 lines (35 loc) · 710 Bytes
/
index3.css
File metadata and controls
42 lines (35 loc) · 710 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
height: 100vh;
display: grid;
grid-template-areas:
'header header header'
'nav content sidebar'
'nav footer footer';
grid-template-columns: 1fr 4fr 1fr;
grid-template-rows: 80px 1fr 70px;
}
.container__nav, .container__main, .container__header, .container__footer, .container__aside {
background-color: steelblue;
border: solid 1px #ffffff;
padding: 20px;
}
.container__header {
grid-area: header;
}
.container__footer {
grid-area: footer;
}
.container__nav {
grid-area: nav;
}
.container__aside {
grid-area: sidebar;
}
.container__main {
grid-area: content;
}