-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmylayout2.html
88 lines (88 loc) · 1.74 KB
/
mylayout2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="kr">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body{margin:0;}
header{
background-color: dimgrey;
height: 100px;
display: flex;
justify-content: space-between;
}
header nav ul{
list-style: none;
margin-top: 65px;
display: flex;
}
header nav ul li{
margin-right: 30px;
}
#content {
display: flex;
}
main{
margin: 5%;
height: 700px;
width: 60%;
}
main section #photo{
background-color: dimgrey;
height: 400px;
}
main section #text{margin-top: 50px;}
main section #text p {
background-color: gainsboro;
height: 20px;
margin-top: 25px;
}
aside{
margin: 5%;
height: 600px;
width: 20%;
background-color: gainsboro;
}
footer{
margin: 10px;
}
</style>
</head>
<body>
<header>
<div>
logo
</div>
<nav>
<ul>
<li><a href="">menu1</a> </li>
<li><a href="">menu2</a></li>
<li><a href="">menu3</a></li>
<li><a href="">menu4</a></li>
<li><a href="">menu5</a></li>
</ul>
</nav>
</header>
<div id="content">
<main>
<section>
<div id="photo">
photo
</div>
<div id="text">
<p>text</p>
<p></p>
<p></p>
<p></p>
</div>
</section>
</main>
<aside>
aside
</aside>
</div>
<footer>
©minju
</footer>
</body>
</html>