-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.html
53 lines (53 loc) · 1.32 KB
/
1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
.header {
background-color: red;
height: 60px;
padding-top: 30px;
}
.left {
display: inline-block;
background-color: blue;
height: calc(100vh - 100px);
width: 100px;
padding-top: 450px;
}
.center {
display: inline-block;
background-color: rgb(0, 94, 128);
height: calc(100vh - 100px);
width: calc(100vw - 237px);
margin: 10px;
padding-top: 450px;
}
.right {
display: inline-block;
background-color: rgb(229, 255, 0);
height: calc(100vh - 100px);
width: 100px;
padding-top: 450px;
}
.footer {
background-color: rgb(0, 255, 247);
height: 40px;
}
body {
margin: 0px;
font-size: 20px;
text-align: center;
}
</style>
<title>성배 레이아웃</title>
</head>
<body>
<div class="header">header</div>
<span class="left">left</span><span class="center">center</span
><span class="right">right</span>
<div class="footer">footer</div>
</body>
</html>