28(0804)

·2021년 8월 4일
0

AI school

목록 보기
27/49

24강 네이버 뉴스 5

학습 내용

html

<div id="ent-section-10">

					<div class="title-wrap ent-flex-between">
						<h3>많이 본 TV연예 뉴스</h3>
						<a href="#" class="more">더보기</a>
					</div>

					<ol>
						<li>
							<a href="#">
								<span class="rank">1</span>
								<p>[공식]한소희 측 "건강상 이유 '젠틀맨 하차…의료진 권유로 회복 전념"(전문)</p>
							</a>
						</li>
					</ol>
				</div>

css

#ent-main .ent-right #ent-section-10 {
	padding-bottom: 12px;
	border-bottom: solid 1px #e8e8e8;
}

#ent-main .ent-right #ent-section-10 .title-wrap {
	margin-bottom: 8px;
}

#ent-main .ent-right #ent-section-10 .title-wrap h3 {
	font-size: 16px;
}

#ent-main .ent-right #ent-section-10 .title-wrap a {
	font-size: 12px;
	color: #999;
}


#ent-main .ent-right #ent-section-10 ol li {
	margin-bottom: 10px;
}

#ent-main .ent-right #ent-section-10 ol li .rank {
	display: inline-block;
	width: 16px;

	font-size: 16px;
	color: #e2458f;

	text-align: center;

	vertical-align: middle;
}

#ent-main .ent-right #ent-section-10 ol li p {
	display: inline-block;
	width: 270px;
	vertical-align: middle;
	font-size: 12px;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

html

<div id="ent-section-11">
					<ul>
						<li>
							<a href="#">
								<div class="title-wrap ent-flex-between">
									<div class="title-left ent-flex-start">
									<span class="count">14</span>
									<h3>정희 쏠박문치와 보드게임 하다가 협업</h3>
									</div>
									<div class="icon-arrow"></div>
								</div>

								<div class="article-content ent-flex-between">
									<div class="content-left">
										<h4>쏠 "원슈타인과 친분 없어…직접 DM 보내 피처링 부탁" ('정희')</h4>
										<span class="source">텐아시아</span>
									</div>
									<img src="https://via.placeholder.com/70">
								</div>
							</a>
						</li>

						<li>
							<a href="#">
								<div class="title-wrap ent-flex-between">
									<div class="title-left ent-flex-start">
									<span class="count">14</span>
									<h3>정희 쏠박문치와 보드게임 하다가 협업</h3>
									</div>
									<div class="icon-arrow"></div>
								</div>

								<div class="article-content ent-flex-between">
									<div class="content-left">
										<h4>쏠 "원슈타인과 친분 없어…직접 DM 보내 피처링 부탁" ('정희')</h4>
										<span class="source">텐아시아</span>
									</div>
									<img src="https://via.placeholder.com/70">
								</div>
							</a>
						</li>

						<li>
							<a href="#">
								<div class="title-wrap ent-flex-between">
									<div class="title-left ent-flex-start">
									<span class="count">14</span>
									<h3>정희 쏠박문치와 보드게임 하다가 협업</h3>
									</div>
									<div class="icon-arrow"></div>
								</div>

								<div class="article-content ent-flex-between">
									<div class="content-left">
										<h4>쏠 "원슈타인과 친분 없어…직접 DM 보내 피처링 부탁" ('정희')</h4>
										<span class="source">텐아시아</span>
									</div>
									<img src="https://via.placeholder.com/70">
								</div>
							</a>
						</li>
					</ul>

					<div class="bottom ent-flex-between">
						<div class="btn-wrap ent-flex-start">
							<button class="btn btn-prev"></button>
							<button class="btn btn-next"></button>
						</div>
						<a href="#" class="more">더보기</a>
					</div>
				</div>

css

#ent-section-11 {
	border-bottom: solid 1px #f2f2f2;
	padding-bottom: 24px;
}

#ent-section-11 ul {
	margin-bottom: 12px;
}

#ent-section-11 ul li {
	padding: 14px;
	border-bottom: solid 1px #f2f2f2;
}

#ent-section-11 ul .title-wrap {
	margin-bottom: 10px;
}

#ent-section-11 ul .title-wrap .title-left .count {
	width: 20px;
	height: 15px;
	padding: 2px 4px;
	border: solid 1px #e2458f;

	color: #e2458f;
	font-size: 10px;

	margin-right: 8px;
}

#ent-section-11 ul .title-wrap .title-left h3 {
	color: #e2458f;
	font-size: 12px;
}

#ent-section-11 ul .title-wrap .icon-arrow {
	width: 8px;
	height: 12px;
	background-color: #e2458f;
}

#ent-section-11 ul .article-content .content-left {
	width: 190px;
}

#ent-section-11 ul .article-content .content-left h4 {
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	margin-bottom: 6px;
}

#ent-section-11 ul .article-content .content-left .source {
	font-size: 11px;
	color: #a6a6a6;
}

#ent-section-11 ul .article-content img {
	width: 70px;
	height: 70px;
	border: solid 1px #000000;
}

#ent-section-11 .bottom .btn-wrap .btn {
	width: 24px;
	height: 24px;
	border: solid 1px #f2f2f2;
}

#ent-section-11 .bottom .btn-wrap .btn-prev {
	background-color: grey;
	border-right: none;
}

#ent-section-11 .bottom .btn-wrap .btn-next {
	background-color: yellow;
}

#ent-section-11 .bottom .more {
	font-size: 12px;
	color: #999;
}


html

				<div id="ent-section-12">
					<div class="title-wrap">
						<h3>연예가 HOT 포토</h3>
					</div>

					<ul class="ent-flex-between">
						<li>
							<img src="https://via.placeholder.com/146x138">
							<h4>Title Title Title Title</h4>
							<span>스타들의 일상</span>
						</li>
						<li>
							<img src="https://via.placeholder.com/146x138">
							<h4>Title Title Title Title</h4>
							<span>스타들의 일상</span>
						</li>
						<li>
							<img src="https://via.placeholder.com/146x138">
							<h4>Title Title Title Title</h4>
							<span>스타들의 일상</span>
						</li>
						<li>
							<img src="https://via.placeholder.com/146x138">
							<h4>Title Title Title Title</h4>
							<span>스타들의 일상</span>
						</li>
					</ul>
				</div>

css

#ent-section-12 {
	padding: 20px 0 2px;
	border-bottom: solid 1px #e8e8e8;
}

#ent-section-12 .title-wrap {
	margin-bottom: 12px;
}

#ent-section-12 .title-wrap h3 {
	font-size: 16px;
}

#ent-section-12 li {
	width: 146px;
	margin-bottom: 19px;
}

#ent-section-12 li img {
	width: 100%;
	width: 146px;
	height: 138px;
	border: solid 1px #000000;
	margin-bottom: 9px;
}

#ent-section-12 li h4 {
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;

	margin-bottom: 5px;
}

#ent-section-12 li span {
	font-size: 11px;
	color: #898989;
}

html

<div id="ent-section-13">
					<div class="title-wrap ent-flex-between">
						<h3>연예가 인터뷰</h3>
						<a href="#" class="more">더보기</a>
					</div>

					<div class="heading ent-flex-between">
						<div class="heading-info">
							<h4>Title Title Title Title Title</h4>
							<span class="source">스포츠</span>
						</div>
						<img src="https://via.placeholder.com/70">
					</div>

					<ul>
						<li><a href="#">"자가 마련·부성애" 김성균, 첫 재난영화 '싱크홀'에 공감한 이유</a></li>
						<li><a href="#">[팝인터뷰]'싱크홀' 김성균 "이광수에 질투 느껴..모든 스태프들이 이광수 사랑하더라"</a></li>
						<li><a href="#">ㅁ어라미ㅓㄴ아ㅣ러미ㅏ어리</a></li>
						<li><a href="#">ㅁ어라미ㅓㄴ아ㅣ러미ㅏ어리</a></li>
						<li><a href="#">ㅁ어라미ㅓㄴ아ㅣ러미ㅏ어리</a></li>
					</ul>
				</div>

css

#ent-section-13 {
	padding-top: 22px;
}

#ent-section-13 .title-wrap {
	margin-bottom: 8px;
}

#ent-section-13 .title-wrap h3 {
	font-size: 16px;
}

#ent-section-13 .title-wrap .more {
	font-size: 12px;
	color: #999;
}

#ent-section-13 .heading {
	margin-bottom: 8px;
}

#ent-section-13 .heading .headline-info {
	width: 210px;
}

#ent-section-13 .heading h4 {
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}

#ent-section-13 .heading .source {
	font-size: 11px;
	color: #999;
}

#ent-section-13 .heading img {
	width: 70px;
	height: 70px;
	border: solid 1px #000000;
}


#ent-section-13 ul li {
	margin-bottom: 8px;
}

#ent-section-13 ul a {
	display: block;
	width: 100%;
	font-size: 12px;
	color: #222;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#ent-section-13 ul a:before {
	display: inline-block;
	content: '';
	width: 2px;
	height: 2px;

	vertical-align: top;
	background-color: silver;

	margin: 5px 5px 0 0;
}

어려웠던 점 & 해결 방법
오ㄹ은 강의 내용을 잘 따라갈 수 있었다.

학습 소감
강사님 말씀대로 오래 걸린만큼 뿌듯한 것 같다.

0개의 댓글

관련 채용 정보

Powered by GraphCDN, the GraphQL CDN