16. 기아 멤버스 하단
html
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width = 1320" />
<meta
name="desciption"
content="기아 멤버스 프로그램인 기아멤버스 사이트 메인"
/>
<title>메인 | 기아멤버스</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0"
/>
<link rel="stylesheet" href="./common.css" />
<link rel="stylesheet" href="./main.css" />
</head>
<body>
<div id="skip_navi">
<a href="#container">본문 바로가기</a>
</div>
<div id="wrap">
<nav id="gnb_wrap"></nav>
<main id="container">
<section class="main_channel">
<div class="inner">
<div class="tit_wrap">
<h2>All about Kia</h2>
<p>Kia의 다양한 채널과 함께 하세요.</p>
</div>
<ul class="channel">
<li>
<a href="#">
<span class="blind">MyKia</span>
</a>
</li>
<li>
<a href="#" target="_blank" title="새창 열림">
<span class="blind">KIA</span>
</a>
</li>
<li>
<a href="#" target="_blank" title="새창 열림">
<span class="blind">carpience</span>
</a>
</li>
<li>
<a href="#" target="_blank" title="새창 열림">
<span class="blind">카카오 소통채널</span>
</a>
</li>
<li>
<a href="#" target="_blank" title="새창 열림">
<span class="blind">페이스북</span>
</a>
</li>
<li>
<a href="#" target="_blank" title="새창 열림">
<span class="blind">인스타그램</span>
</a>
</li>
</ul>
</div>
</section>
</main>
</div>
</body>
</html>
css
:root {
--point-color1: #5d7d2b;
--point-color2: #c7b19b;
--txt-color-400: #999;
--txt-color-500: #6b7376;
--txt-color-600: #05141f;
}
#wrap {
min-width: 1320px;
height: 1500px;
}
#container .main_channel {
height: 600px;
background: url(images/img_main_channer.jpg) no-repeat center top / cover;
padding-top: 85px;
}
#container .tit_wrap {
text-align: center;
}
.main_channel .tit_wrap h2 {
font-size: 38px;
color: #fff;
margin-bottom: 15px;
}
.tit_wrap p {
font-size: 14px;
color: #fff;
}
.main_channel .channel {
margin-top: 60px;
justify-content: space-around;
display: flex;
}
.main_channel .channel li a {
display: block;
width: 84px;
height: 64px;
display: flex;
align-items: center;
}
.main_channel .channel a::after {
content: '';
width: 100%;
height: 28px;
background: url(images/icon_channer_sns.png) no-repeat 0 -64px;
}
.main_channel .channel li:nth-child(2) a {
width: 80px;
}
.main_channel .channel li:nth-child(2) a::after {
height: 20px;
background-position: -82px 0;
}
.main_channel .channel li:nth-child(3) a {
width: 70px;
}
.main_channel .channel li:nth-child(3) a::after {
height: 64px;
background-position: -254px 0;
}
.main_channel .channel li:nth-child(4) a {
width: 57px;
}
.main_channel .channel li:nth-child(4) a::after {
height: 52px;
background-position: -334px 0;
}
.main_channel .channel li:nth-child(5) a {
width: 54px;
}
.main_channel .channel li:nth-child(5) a::after {
height: 54px;
background-position: -402px 0;
}
.main_channel .channel li:nth-child(6) a {
width: 54px;
}
.main_channel .channel li:nth-child(6) a::after {
height: 54px;
background-position: -466px 0;
}
17.네이버(검색 필드)
html
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<meta
name="description"
content="네이버 메인에서 다양한 정보와 유용한 컨텐츠를 만나 보세요"
/>
<title>네이버</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0"
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="http://test123123.dothome.co.kr" />
<meta property="og:title" content="네이버" />
<meta
property="og:description"
content="네이버 메인에서 다양한 정보와 유용한 컨텐츠를 만나 보세요"
/>
<meta
property="og:image"
content="http://test123123.dothome.co.kr/images/20230315195155CAKTKJ.jpeg"
/>
<link rel="stylesheet" href="../css/common.css" />
<link rel="stylesheet" href="../css/main.css" />
</head>
<body>
<div id="skip_navi">
<a href="#container">본문 바로가기</a>
</div>
<div id="wrap">
<header id="header">
<div class="inner">
<div class="search_area">
<form action="">
<fieldset>
<legend>검색</legend>
<div class="search_wrap">
<input
type="search"
title="검색어를 입력해주세요"
placeholder="검색어를 입력해주세요"
/>
<button type="submit" class="search_btn">
<span class="blind">search button</span>
</button>
</div>
</fieldset>
</form>
</div>
</div>
</header>
</div>
</body>
</html>
css
:root {
--point-color1: #03c75a;
--point-color2: #9858f5;
--txt-color-400: #404040;
--txt-color-500: #101010;
--txt-color-600: #080808;
}
#wrap {
height: 1500px;
}
#header .inner {
max-width: 1340px;
height: 267px;
border: 1px solid red;
margin: 0 auto;
padding: 0 30px;
display: flex;
justify-content: center;
align-items: center;
}
#header .search_area {
max-width: 706px;
width: 100%;
border: 1px solid var(--point-color1);
border-radius: 30px;
}
#header .search_area .search_wrap {
padding-left: 28px;
display: flex;
justify-content: space-between;
}
#header .search_area input[type='search'] {
height: 58px;
font-size: 21px;
font-weight: 700;
color: #000;
max-width: 480px;
width: 100%;
border: none;
}
#header .search_area .search_wrap .search_btn {
height: 58px;
padding: 0 27px 0 10px;
border: none;
background: none;
display: flex;
align-items: center;
}
#header .search_area .search_wrap .search_btn::after {
content: '';
width: 25px;
height: 25px;
-webkit-mask: url(../assets/images/svgexport-1.svg) no-repeat 0 0 /25px;
mask: url(../assets/images/svgexport-1.svg) no-repeat 0 0 /25px;
background: var(--point-color1);
}