F-1 TYPE 전체 바로 확인하기
HTML
<html>
<meta charset="utf-8">
<title>HEADER_FOOTER 100</title>
<link rel="stylesheet" href="css/index.css" type="text/css">
<script src="script/jquery-1.12.3.js" type="text/javascript"></script>
<script src="script/index.js" type="text/javascript"></script>
</html>
<body>
<header class="clearfix">
<!-- header code -->
</header>
<div class="container">
<section class="visual">
<!-- visual code -->
</section>
<section class="contents">
<div class="notice">
<!-- notice code -->
</div>
<div class="banner">
<!-- banner code -->
</section>
</div>
<footer>
<!-- footer code -->
</footer>
<div class="modal">
<!-- modal code -->
</div>
</body>
CSS
/* header */
header { width: 100%; height: 100px; background:#EDBBBB; border:3px solid red;}
header .inner { width:1200px; height: 100px; margin: 0 auto; background: #EF9090;}
/* container */
.container { width: 1200px; height: 500px;margin: 0 auto;}
/* visual */
.visual { overflow: hidden; position: relative; width: 100%; height: 300px; background:#F69393; border:3px solid red;}
/* contents */
.contents { height: 200px; background:#F69393;}
/* tab content */
.contents .tab_content { float: left; width: 33.333%; height: 200px; padding: 10px; background:#F69393; border:3px solid red;}
/* banner */
.contents .banner { float: left; width: 33.333%; height: 200px; padding:15px; background:#F69393; border:3px solid red;}
/* link */
.contents .link { float: left; width: 33.333%; height: 200px; padding:15px; background:#F69393; border:3px solid red; }
/* footer */
footer { width:100%; height: 100px; background:#EDBBBB; border:3px solid red;}
footer .inner { width:1200px; height: 100px; margin: 0 auto; background: #EF9090;}
'웹디자인기능사 실기 > TIP' 카테고리의 다른 글
웹디자인기능사 실기 왼쪽정렬 MODAL(POPUP) (0) | 2021.05.11 |
---|---|
웹디자인기능사 실기 중앙정렬 MODAL(POPUP) (0) | 2021.04.30 |
웹디자인기능사 실기 HTML , CSS (0) | 2021.04.28 |
웹디자인기능사 실기 유형 중앙정렬 FOOTER (0) | 2021.04.27 |
웹디자인기능사 실기 유형 왼쪽정렬 CONTENTS > TAB (0) | 2021.04.26 |