카피캣 영역인 네이버이스포츠 상단부분
네이버이스포츠 상단부분 카피캣 완료한 모습
<!-- e-sport.html언어 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>네이버</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body id="game_body">
<header id="esport_header">
<nav id="esport_nav">
<div class="esport_container">
<div class="nav_wrap esport_flex_between">
<div class="left esport_flex_start">
<h1><a href="#">e스포츠</a></h1>
<ul class="esport_flex_start">
<li><a href="#">GAME</a></li>
<li><a href="#">PC게임</a></li>
</ul>
</div>
<div class="center">
<ul class="esport_flex_center">
<li><a href="#" class="active">홈</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="right esport_flex_end">
<a href="#">로그인</a>
<a href="#">메뉴</a>
</div>
</div>
</div>
</nav>
</header>
<main role="main" id="esport_main">
<div id="esport_main_top">
<div class="esport_container">
<div class="timeline_wrap">
<ul class="esport_flex_start">
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
<li>
<a href="#">
<span class="date">오늘 (06.05)</span>
<h2>2021 LCK AS 챔피언십 풀리그 3일차</h2>
<div class="status_wrap esport_flex_between">
<span class="live">LIVE</span>
<span class="status">진행중</span>
</div>
</a>
</li>
</ul>
</div>
<div class="live_wrap">
<h2>라이브중인 경기 <span class="count">2</span></h2>
<ul class="esport_flex_between">
<li>
<a href="#" class="esport_flex_between">
<img src="https://via.placeholder.com/442x250">
<div class="txt_wrap">
<span>진행중</span>
<h3>2021 PMPS S1 WEEKLY FINAL DAY 3</h3>
</div>
</a>
</li>
<li>
<a href="#" class="esport_flex_between">
<img src="https://via.placeholder.com/442x250">
<div class="txt_wrap">
<span>진행중</span>
<h3>2021 PMPS S1 WEEKLY FINAL DAY 3</h3>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="esport_container">
<div class="left">
</div>
<div class="left">
</div>
</div>
</main>
</body>
</html>
<!-- style.css언어 -->
.esport_flex_between {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
align-content: stretch;
}
.esport_flex_start {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
align-content: stretch;
}
.esport_flex_center {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: stretch;
}
.esport_flex_end {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-end;
align-items: center;
align-content: stretch;
}
.esport_container {
width: 1280px;
margin: 0 auto;
}
#esport_header {
position: fixed;
width: 100%;
background-color: #151618;
border-bottom: solid 1px gray;
left: 0;
top: 0;
}
#esport_header #esport_nav {
/*height: 60px;*/
}
#esport_header #esport_nav a {
color: #ffffff;
}
#esport_header #esport_nav .nav_wrap {
height: 60px;
}
#esport_header #esport_nav .left h1 {
font-size: 20px;
}
#esport_header #esport_nav .left li {
}
#esport_header #esport_nav .left li:before {
display: inline-block;
content: '';
width: 1px;
height: 14px;
background-color: rgba(160, 165, 182, 0.3);
margin: 0 12px;
}
#esport_header #esport_nav .left li a {
color: gray;
}
#esport_header #esport_nav .center li {
margin-right: 24px;
}
#esport_header #esport_nav .center li:last-child {
margin-right: 0;
}
#esport_header #esport_nav .center li a {
display: inline-block;
height: 60px;
line-height: 60px;
border-bottom: solid 5px transparent;
color: gray;
font-size: 17px;
}
#esport_header #esport_nav .center li a:hover {
color: darkgray;
}
#esport_header #esport_nav .center li a.active {
color: #ffffff;
border-bottom: solid 5px #ffffff;
}
#esport_header #esport_nav .right a {
border: solid 1px hsla(0, 0%, 80%, 0.3);
border-radius: 8px;
padding: 4px 8px;
font-size: 12px;
}
#esport_header #esport_nav .right a:last-child {
margin-left: 10px;
}
#esport_main {
padding-top: 61px;
}
#esport_main_top {
background-color: #151618;
}
#esport_main_top .timeline_wrap {
padding: 20px 0;
}
#esport_main_top .timeline_wrap ul {
}
#esport_main_top .timeline_wrap li {
width: 16.6%;
background-color: #272b31;
border-radius: 10px;
margin-right: 1px;
}
#esport_main_top .timeline_wrap li:last-child {
margin-right: 0;
}
#esport_main_top .timeline_wrap li a {
display: block;
width: 100%;
padding: 14px 18px;
color: #ffffff;
}
#esport_main_top .timeline_wrap li a .date {
font-size: 12px;
font-weight: 500;
}
#esport_main_top .timeline_wrap li a h2 {
font-size: 13px;
margin-top: 6px;
color: #a0a5b6;
}
#esport_main_top .timeline_wrap li a .status_wrap {
margin-top: 35px;
}
#esport_main_top .timeline_wrap li a .status_wrap .live {
font-size: 12px;
font-weight: 700;
}
#esport_main_top .timeline_wrap li a .status_wrap .status {
font-size: 12px;
font-weight: 500;
color: red;
}
#esport_main_top .live_wrap {
padding-bottom: 60px;
}
#esport_main_top .live_wrap h2 {
font-size: 18px;
color: #ffffff;
margin-bottom: 20px;
}
#esport_main_top .live_wrap h2 .count {
color: #8a7cff;
}
#esport_main_top .live_wrap ul {
}
#esport_main_top .live_wrap li {
overflow: hidden;
width: 625px;
background-color: #1f2227;
border-radius: 10px;
}
#esport_main_top .live_wrap a {
/*display: block;*/
/*width: 100%;*/
/*height: 100%;*/
align-items: flex-start;
}
#esport_main_top .live_wrap li img {
width: 442px;
height: 250px;
}
#esport_main_top .live_wrap li .txt_wrap {
width: 183px;
padding: 17px 20px 22px;
}
#esport_main_top .live_wrap li .txt_wrap span {
color: red;
background-color: rgba(255, 0, 0, 0.2);
padding: 3px 7px;
border-radius: 3px;
}
#esport_main_top .live_wrap li .txt_wrap h3 {
font-size: 15px;
color: #ffffff;
margin-top: 8px;
}
확실히 연습과 반복으로 한층 수월하게 강의를 진행햐였다.
딱히 오늘 강의는 힘든점 은 없었다.
매일 매일 연습을 게을리 말아야 겠다.