html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>네이버</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header id="ent-header">
<div class="ent-flex-between">
<div class="ent-header-left">
<ul class="ent-flex-start">
<li><a href="">TV연예</a></li>
<li><a href="news.html">뉴스</a></li>
</ul>
</div>
<div class="ent-header-center">
<ul class="ent-flex-center">
<li class="on"><a href="#">TV연예홈</a></li>
<li><a href="#">TV</a></li>
<li><a href="#">포토</a></li>
<li><a href="#">랭킹</a></li>
<li><a href="#">영화</a></li>
<li><a href="#">최신뉴스</a></li>
</ul>
</div>
<div class="ent-header-right end-flex-end">
<a href="#" class="btn-login">로그인</a>
<button type="button" class="btn-menu"></button>
<button type="button" class="btn-search"></button>
</div>
</div>
</header>
<main role='main' id="ent-main">
<div class="ent-container">
<div class="ent-left">
<div id="ent-media-headline">
<ul class="ent-flex-between">
<li>
<a href="#">
<div class="media-top">
<img src="http://via.placeholder.com/148x145">
<span class="time">03:02</span>
<i class="icon-play"></i>
</div>
<div class="media-bottom">
<p>[신곡 MV] BTS (방탄소년단)......</p>
</div>
</a>
</li>
<li>
<a href="#">
<div class="media-top">
<img src="http://via.placeholder.com/148x145">
<span class="time">03:02</span>
<i class="icon-play"></i>
</div>
<div class="media-bottom">
<p>[신곡 MV] BTS (방탄소년단)......</p>
</div>
</a>
</li>
<li>
<a href="#">
<div class="media-top">
<img src="http://via.placeholder.com/148x145">
<span class="time">03:02</span>
<i class="icon-play"></i>
</div>
<div class="media-bottom">
<p>[신곡 MV] BTS (방탄소년단)......</p>
</div>
</a>
</li>
<li>
<a href="#">
<div class="media-top">
<img src="http://via.placeholder.com/148x145">
<span class="time">03:02</span>
<i class="icon-play"></i>
</div>
<div class="media-bottom">
<p>[신곡 MV] BTS (방탄소년단)......</p>
</div>
</a>
</li>
</ul>
</div>
<div id="ent-section-1">
<ul>
<li>
<a href="#" class="ent-flex-between">
<img src="http://via.placeholder.com/148x90">
<div class="ent-news-wrap">
<h3>Title</h3>
<p>동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 </p>
<div class="bottom-wrap ent-flex-between">
<span class="source">TV리포트</span>
<span class="count"></span>
</div>
</div>
</a>
</li>
<li>
<a href="#" class="ent-flex-between">
<img src="http://via.placeholder.com/148x90">
<div class="ent-news-wrap">
<h3>Title</h3>
<p>동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 동해물과 백두산이 마르고 닳도록 </p>
<div class="bottom-wrap ent-flex-between">
<span class="source">TV리포트</span>
<span class="count"></span>
</div>
</div>
</a>
</li>
</ul>
</div>
<div id="ent-section-2">
<ul class="ent-flex-between">
<li>
<a href="#">
<img src="http://via.placeholder.com/200x122">
<h3>Title1 Title1 Title1 Title1 Title1</h3>
<div class="ent-bottom ent-flex-between">
<span class="source">TV리포트</span>
<span class="count">1</span>
</div>
</a>
</li>
<li>
<a href="#">
<img src="http://via.placeholder.com/200x122">
<h3>Title1 Title1 Title1 Title1 Title1</h3>
<div class="ent-bottom ent-flex-between">
<span class="source">TV리포트</span>
<span class="count">1</span>
</div>
</a>
</li>
<li>
<a href="#">
<img src="http://via.placeholder.com/200x122">
<h3>Title1 Title1 Title1 Title1 Title1</h3>
<div class="ent-bottom ent-flex-between">
<span class="source">TV리포트</span>
<span class="count">1</span>
</div>
</a>
</li>
</ul>
</div>
<div id="ent-section-3">
<div class="title-wrap ent-flex-between">
<h3>스타 콘텐츠</h3>
<div class="right-wrap ent-flex-end">
<div class="count-wrap">
<span><em>1</em> / 2</span>
</div>
<div class="btn-wrap ent-flex-end">
<button class="btn btn-prev"></button>
<button class="btn btn-next"></button>
</div>
</div>
</div>
<ul class="ent-flex-between">
<li>
<a href="#">
<img src="http://via.placeholder.com/148x148">
<span>에이치앤드</span>
<h3>[금새록] 오월의 새록 [금새록] 오월의 새록</h3>
</a>
</li>
<li>
<a href="#">
<img src="http://via.placeholder.com/148x148">
<span>에이치앤드</span>
<h3>[금새록] 오월의 새록 [금새록] 오월의 새록</h3>
</a>
</li>
<li>
<a href="#">
<img src="http://via.placeholder.com/148x148">
<span>에이치앤드</span>
<h3>[금새록] 오월의 새록 [금새록] 오월의 새록</h3>
</a>
</li>
<li>
<a href="#">
<img src="http://via.placeholder.com/148x148">
<span>에이치앤드 안녕하세요 반갑습니다 깔깔깔깔깔</span>
<h3>[금새록] 오월의 새 [금새록] 오월의 새록</h3>
</a>
</li>
</ul>
</div>
</div>
<div class="ent-right"></div>
</div>
</main>
</body>
</html>
css
#ent-main{
}
#ent-main .ent-container{
overflow: hidden;
}
#ent-main .ent-left{
width: 654px;
height: 2000px;
float: left;
background-color: yellow;
padding-right: 24px;
}
#ent-main .ent-left #ent-media-headline{
padding-bottom: 20px;
border-bottom: solid 2px #f1f1f1;
}
#ent-main .ent-left #ent-media-headline ul{
}
#ent-main .ent-left #ent-media-headline li{
width: 148px;
height: 204px;
border-radius: 10px;
}
#ent-main .ent-left #ent-media-headline a{
display: block;
width: 100%;
height: 100%;
}
#ent-main .ent-left #ent-media-headline .media-top{
height: 144px;
position: relative;
}
#ent-main .ent-left #ent-media-headline .media-top img{
width: 100%;
height: 100%;
position: absolute;
}
#ent-main .ent-left #ent-media-headline .media-top .time{
position: absolute;
display: block;
border-radius: 2px;
height: 16px;
background-color: rgba(0, 0, 0, .56);
color: #ffffff;
font-size: 11px;
line-height: 16px;
padding: 0 4px;
right: 8px;
top: 8px;
}
#ent-main .ent-left #ent-media-headline .media-top .icon-play{
position: absolute;
display: block;
width: 28px;
height: 28px;
background-color: dimgray;
left: 8px;
bottom: 7px;
border-radius: 50%;
}
#ent-main .ent-left #ent-media-headline .media-bottom{
height: 60px;
background-color: #444a60;
}
#ent-main .ent-left #ent-media-headline .media-bottom p{
font-size: 14px;
font-weight: 700;
letter-spacing: -1px;
padding: 11px 12px 0;
color: #ffffff;
}
#ent-main .ent-left #ent-section-1{
}
#ent-main .ent-left #ent-section-1 li{
border-bottom: solid 1px #f1f1f1;
padding: 20px 0;
}
#ent-main .ent-left #ent-section-1 li a{
}
#ent-main .ent-left #ent-section-1 li img{
width: 148px;
height: 90px;
border: solid 1px #000000;
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap{
width: 462px;
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap h3{
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap p{
font-size: 12px;
color: #898989;
font-weight: 400;
line-height: 20px;
margin-bottom: 8px;
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap .bottom-wrap{
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap .bottom-wrap .source,
#ent-main .ent-left #ent-section-2 .ent-bottom .source{
font-size: 11px;
font-weight: 400;
color: #a7a7a7;
}
#ent-main .ent-left #ent-section-1 li .ent-news-wrap .bottom-wrap .count,
#ent-main .ent-left #ent-section-2 .ent-bottom .count{
display: inline-block;
border: solid 1px #000000;
border-radius: 5px;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
font-size: 10px;
}
#ent-main .ent-left #ent-section-2{
padding: 20px 0;
border-bottom: solid 1px #f1f1f1;
}
#ent-main .ent-left #ent-section-2 ul{
}
#ent-main .ent-left #ent-section-2 li{
width: 200px;
}
#ent-main .ent-left #ent-section-2 a{
}
#ent-main .ent-left #ent-section-2 img{
width: 200px;
height: 122px;
border: solid 1px #000000;
margin-bottom: 15px;
}
#ent-main .ent-left #ent-section-2 h3{
font-size: 13px;
line-height: 20px;
margin-bottom: 9px;
}
#ent-main .ent-left #ent-section-2 .ent-bottom{
}
#ent-main .ent-left #ent-section-2 .ent-bottom .source{
}
#ent-main .ent-left #ent-section-2 .ent-bottom .count{
}
#ent-main .ent-left #ent-section-3{
padding: 24px 0;
border-bottom: solid 1px #e4e4e4;
}
#ent-main .ent-left #ent-section-3 .title-wrap{
margin-bottom: 18px;
}
#ent-main .ent-left #ent-section-3 .title-wrap h3{
font-size: 16px;
}
#ent-main .ent-left #ent-section-3 .right-wrap{
}
#ent-main .ent-left #ent-section-3 .right-wrap .count-wrap{
}
#ent-main .ent-left #ent-section-3 .right-wrap .count-wrap span{
font-size: 12px;
color: #666;
}
#ent-main .ent-left #ent-section-3 .right-wrap span em{
font-style: normal;
color: #ff0080;
}
#ent-main .ent-left #ent-section-3 .right-wrap .btn-wrap{
margin-left: 8px;
}
#ent-main .ent-left #ent-section-3 .right-wrap .btn-wrap .btn{
width: 24px;
height: 24px;
border: solid 1px #000000;
}
#ent-main .ent-left #ent-section-3 .right-wrap .btn-wrap .btn-prev{
border-right: none;
background-color: blue;
}
#ent-main .ent-left #ent-section-3 .right-wrap .btn-wrap .btn-next{
background-color: green;
}
#ent-main .ent-left #ent-section-3 ul{
}
#ent-main .ent-left #ent-section-3 li{
width: 148px;
height: 148px;
border: solid 1px #000000;
}
#ent-main .ent-left #ent-section-3 li a{
width: 100%;
height: 100%;
position: relative;
display: block;
}
#ent-main .ent-left #ent-section-3 li img{
position: absolute;
width: 100%;
height: 100%;
}
#ent-main .ent-left #ent-section-3 li span{
position: absolute;
left: 0;
top: 0;
background-color: #f40080;
max-width: 100%;
display: block;
font-size: 11px;
font-weight: 700;
padding: 0 5px;
color: #ffffff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#ent-main .ent-left #ent-section-3 li h3{
position: absolute;
width: 100%;
left: 0;
bottom: 0;
min-height: 32px;
padding: 9px 10px 8px;
background-color: rgba(0, 0, 0, 0.4);
font-size: 12px;
font-weight: 700px;
color: #ffffff;
}
#ent-main .ent-right{
float: right;
width: 324px;
height: 2000px;
background-color: pink;
}
오늘은 크게 어려운 점이 없었따!
어려운 점 없었다!!
점점 재미있는 것 같다!