와이어 플레임 연습
A-3 강원천문대
잭아저씨
2023. 2. 15. 15:07
<!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">
<link rel="stylesheet" href="./css/style.css">
<title>강원천문대</title>
</head>
<body>
<div id="wrap">
<header id="header">
<div id="logo">
로고
</div>
<nav id="nav">
네비게이션
</nav>
</header>
<div id="slide">
슬라이드
</div>
<div id="contents">
<div id="cont1">
공지사항/갤러리
</div>
<div id="cont2">
배너
</div>
<div id="cont3">
바로가기
</div>
</div>
<footer id="footer">
<div id="logo">
로고
</div>
<div id="footmanu">
하단 메뉴
</div>
<div id="Copyright">
Copyright
</div>
</footer>
</div>
</body>
</html>
--------------------------------------------------------------------------------------------------------------------------------------------------
@charset "utf-8";
*{
margin:0;
padding:0;
}
ul{
list-style-type: none;
}
a{
text-decoration: none;
}
#wrap{
width: 1200px;
height: 700px;
background-color: aqua;
margin: 0 auto;
}
#header{
width: 1200px;
height: 100px;
background-color: aquamarine;
}
#header>#logo{
float:left;
width: 200px;
height: 100px;
background-color: chartreuse;
}
#header>#nav{
float:left;
width: 1000px;
height: 100px;
background-color: chocolate;
}
#slide{
width: 1200px;
height: 300px;
background-color: antiquewhite;
}
#contents{
width: 1200px;
height: 200px;
background-color: brown;
}
#contents>#cont1{
float: left;
width: 480px;
height: 200px;
background-color: darkcyan;
}
#contents>#cont2{
float: left;
width: 360px;
height: 200px;
background-color: darkorange;
}
#contents>#cont3{
float: left;
width: 360px;
height: 200px;
background-color: darkkhaki;
}
#footer{
width: 1200px;
height: 100px;
background-color: blueviolet;
}
#footer>#logo{
float: left;
width: 200px;
height: 100px;
background-color: darksalmon;
}
#footer>#footmanu{
float: left;
width: 1000px;
height: 50px;
background-color: darkturquoise;
}
#footer>#Copyright{
float: left;
width: 1000px;
height: 50px;
background-color: darkslateblue;
}