<div id="banner_1">
<div class="banner_wrap">
<img src="https://via.placeholder.com/750x160">
</div>
</div>
<div id="weather">
<div class="container">
<div class="weather_top">
<div class="weather_left">
<img src="https://via.placeholder.com/30">
<div class="txt_wrap">
<h3>19° 대구</h3>
<p>미세 <span>보통</span> · 초미세 <span>보통</span></p>
</div>
</div>
<div class="weather_right">
<span>내 위치 찾기</span>
<i class="icon"></i>
</div>
</div>
<div class="weather_bottom">
<p>
위치 찾기를 눌러 현 위치의 시간대별 날씨와<br>
미세먼지 예보를 여기에서 바로 보세요
</p>
</div>
</div>
</div>
<div id="now">
<h2>NOW.</h2>
<ul>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
<li>
<a href="#">
<img src="https://via.placeholder.com/100x138">
<p>Hello Nice to meet you</p>
</a>
</li>
</ul>
<div class="btn_wrap">
<a href="#" class="btn_now">나우 편성표</a>
<a href="#" class="btn_shopping">쇼핑 편성표</a>
</div>
</div>
<div id="banner_2">
<div class="banner_wrap">
<img src="https://via.placeholder.com/320x53">
</div>
</div>
<div id="banner_3">
<div class="banner_wrap">
<img src="https://via.placeholder.com/320x75">
</div>
</div>
<div id="banner_4">
<div class="banner_wrap">
<img src="https://via.placeholder.com/1250x370">
</div>
</div>
<div id="corona">
<div class="container">
<div class="corona_wrap">
<a href="#" class="left_corona">
<img src="https://via.placeholder.com/35">
<div class="txt_wrap">
<h3>코로나19</h3>
<p>국내외 확진 현황</p>
</div>
</a>
<a href="#" class="right_corona">
<img src="https://via.placeholder.com/35">
<div class="txt_wrap">
<h3>선별진료소</h3>
<p>내 주변 진료소 찾기</p>
</div>
</a>
</div>
</div>
</div>
<div id="ai">
<div class="container">
<div class="ai_wrap">
<div class="ai_left">
<img src="https://via.placeholder.com/40">
<div class="txt_wrap">
<p>
더 편리해진 AI 검색 기능<br>
네이버앱에서 만나보세요.
</p>
</div>
</div>
<div class="ai_right">
<span>앱 사용하기</span>
</div>
</div>
</div>
</div>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
ol, ul {
list-style: none;
}
img {
vertical-align: middle;
}
a {
text-decoration: none;
}
button {
border: none;
background-color: transparent;
}
input {
border: none;
background-color: transparent;
}
input:focus {
outline: none;
}
.wrapper {
overflow-x: hidden;
overflow-y: auto;
width: 375px;
height: 100vh;
margin: 0 auto;
background-color: #eaeef3;
}
#banner_1 {
background-color: #f4f6f8;
}
#banner_1 .banner_wrap {
width: 100%;
margin: 0 auto;
}
#banner_1 .banner_wrap img {
width: 100%;
}
#weather {
background-color: #fff;
}
#weather .container {
padding: 0 20px;
}
#weather .weather_top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 22px 0 16px;
}
#weather .weather_top .weather_left {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
}
#weather .weather_top .weather_left img {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 15px;
}
#weather .weather_top .weather_left .txt_wrap h3 {
font-size: 16px;
}
#weather .weather_top .weather_left .txt_wrap p {
font-size: 14px;
}
#weather .weather_top .weather_left .txt_wrap p span {
color: #00d01d;
}
#weather .weather_top .weather_right {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
}
#weather .weather_top .weather_right span {
font-size: 14px;
margin-right: 8px;
}
#weather .weather_top .weather_right .icon {
display: inline-block;
width: 20px;
height: 20px;
background-color: blue;
border-radius: 50%;
color: #767668;
}
#weather .weather_bottom {
padding: 6px 0 30px;
}
#weather .weather_bottom p {
color: #767678;
font-weight: 400;
font-size: 15px;
line-height: 20px;
letter-spacing: -0.5px;
}
#now {
background-color: #fff;
padding: 20px 0 16px;
margin-top: 10px;
}
#now h2 {
font-size: 18px;
font-weight: 700;
color: red;
margin-bottom: 14px;
margin-left: 20px;
}
#now ul {
overflow-x: auto;
display: flex;
justify-content: space-between;
align-items: center;
align-content: center;
padding-left: 20px;
}
#now ul li {
margin-right: 10px;
}
#now ul li:last-child {
margin-right: 0
}
#now ul li a {
color: #000;
}
#now ul li a img {
width: 100px;
height: 138px;
border-radius: 5px;
}
#now ul li a p {
font-size: 14px;
padding-top: 10px;
}
#now .btn_wrap {
overflow: hidden;
width: 335px;
border-radius: 10px;
background-color: #f5f8fb;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
align-content: center;
margin: 20px auto 0;
}
#now .btn_wrap a {
display: block;
width: 50%;
height: 44px;
text-align: center;
line-height: 44px;
color: #767678;
}
#now .btn_wrap .btn_now {
}
#now .btn_wrap .btn_shopping {
}
#now .btn_wrap .btn_shopping:before {
content: "";
display: block;
width: 1px;
height: 14px;
margin-top: 15px;
background-color: rgba(125, 127, 133, .2);
float: left;
}
#banner_2 {
background-color: #fff;;
margin-top: 10px;
}
#banner_2 .banner_wrap {
width: 320px;
margin: 0 auto;
}
#banner_2 .banner_wrap img {
width: 100%;
}
#banner_3 {
background-color: #fff;;
margin-top: 10px;
}
#banner_3 .banner_wrap {
width: 320px;
margin: 0 auto;
}
#banner_3 .banner_wrap img {
width: 100%;
}
#banner_4 {
overflow: hidden;
background-color: #fff;;
margin-top: 10px;
}
#banner_4 .banner_wrap {
width: 100%;
height: 155px;
}
#banner_4 .banner_wrap img {
position: relative;
height: 100%;
left: 50%;
transform: translate(-50%);
}
#corona {
background-color: #fff;
margin-top: 10px;
}
#corona .container {
padding: 0 20px;
}
#corona .corona_wrap {
display: flex;
justify-content: space-between;
align-items: center;
align-content: center;
}
#corona .corona_wrap a {
position: relative;
display: flex;
align-items: center;
align-content: center;
padding: 20px 0;
}
#corona .corona_wrap a.right_corona {
padding-left: 11px;
}
#corona .corona_wrap a.right_corona:before {
content: "";
display: block;
position: absolute;
width: 1px;
height: 42px;
background-color: #efeff0;
top: 20px;
left: 0;
}
#corona .corona_wrap img {
width: 35px;
margin-right: 8px;
border-radius: 50%;
}
#corona .corona_wrap .txt_wrap h3 {
font-size: 15px;
font-weight: 700;
color: #000;
}
#corona .corona_wrap .txt_wrap p {
font-size: 13px;
font-weight: 400;
margin-top: 4px;
color: #000;
}
#ai {
background-color: #fff;
margin-top: 10px;
}
#ai .container {
padding: 0 20px;
}
#ai .ai_wrap {
display: flex;
justify-content: space-between;
align-items: center;
align-content: center;
padding: 20px 0;
}
#ai .ai_wrap .ai_left {
display: flex;
align-items: center;
align-content: center;
}
#ai .ai_wrap .ai_left img {
width: 40px;
height: 40px;
border-radius: 8px;
margin-right: 8px;
}
#ai .ai_wrap .ai_left .txt_wrap p {
font-size: 15px;
color: #424242;
font-weight: 400;
}
#ai .ai_wrap .ai_right {
display: flex;
justify-content: flex-end;
align-items: center;
align-content: center;
}
#ai .ai_wrap .ai_right span {
font-size: 14px;
color: #03c95b;
font-weight: 400;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.