-
Notifications
You must be signed in to change notification settings - Fork 0
/
class9exercise.html
57 lines (51 loc) · 1.56 KB
/
class9exercise.html
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
color: white;
margin: 0;
}
.column {
display: inline-block;
text-align: center;
vertical-align: top;
}
#logo {
background-color: blue;
width: 30vw;
height: 25vh;
}
#header {
background-color: red;
width: 70vw;
height: 25vh;
}
#content {
background-color: gray;
width: 100vw;
min-height: 50vh;
}
#aside1 {
background-color: orange;
width: 50vw;
height: 15vh;
}
#aside2 {
background-color: purple;
width: 50vw;
height: 15vh;
}
#footer {
background-color: green;
width: 100vw;
height: 10vh;
}
</style>
</head>
<body>
<div id="logo" class="column">LOGO</div><!-- --><div id="header" class="column">HEADER</div><!-- --><div id="content" class="column">CONTENT</div><!-- --><div id="aside1" class="column">ASIDE1</div><!-- --><div id="aside2" class="column">ASIDE2</div><!-- --><div id="footer" class="column">FOOTER</div>
<script>
</script>
</body>
</html>