forked from mciver83/html-css-1-wlh6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpart2.css
62 lines (52 loc) · 739 Bytes
/
part2.css
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
62
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
font-size: 24px;
font-family: 'Akronim', cursive;
}
#logo {
float: left;
margin: 0;
}
nav {
float: right;
}
header {
padding: 20px;
border-bottom: 1px solid black;
height: 80px;
}
footer {
border: 1px solid black;
height: 80px;
}
#left-section {
float: left;
width: 33%;
background: lightcyan;
}
#right-section {
float: right;
width: calc(100vw - 33%);
height: 100%;
overflow: scroll;
padding-left: 30px;
}
#container {
height: calc(100vh - 160px);
width: 100vw;
clear: left;
}
img {
float: left;
margin-right: 20px;
}
.box {
width: 200px;
height: 200px;
border: 4px solid lightsalmon;
margin: 0 auto;
}