*html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./1page.css">
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css">
<title>Resoft</title>
</head>
<body>
<header class="header">
<a class="img_wrap" href="./1page.html">
<img src="../img/1page/resoftlogo.png" alt="메인로고">
</a>
<div id="wrapper">
<nav>
<ul id="wrap_text">
<li><a href="#">회사소개</a>
<ul class="nvi close">
<li><a href="#">Resoft소개</a></li>
<li><a href="#">연혁</a></li>
<li><a href="#">조직도</a></li>
<li><a href="#">특허&인증</a></li>
<li><a href="#">오시는 길</a></li>
</ul>
</li>
<li><a href="#">사업현황</a>
<ul class="nvi close">
<li><a href="#">ECOCE</a></li>
<li><a href="#">MoaDo</a></li>
<li><a href="#">Etc</a></li>
</ul>
</li>
<li><a href="#">정보마당</a>
<ul class="nvi close">
<li><a href="#">Resoft소식</a></li>
</ul>
</li>
</ul>
</nav>
<div class="nvi close"></div>
</div>
<a href="#" class="btn">
<img src="../img/icon/ic_menu_wt.png" alt="">
</a>
<div class="banner-wrap">
<div class="bannerText-wrap">
<div class="bannerText">
<p>Evolution<br>
With New Software
</p>
<p>
<span>Mobile APP(Android/iOS) Development, </span>
<span>AI Bigdata Analysis, MetaVerse,
</span><br>
<span>
<span>Responsive WEBsite, Brand Design Launch, </span>
<span>ICT Consulting</span>
</span>
</p>
</div>
</div>
</div>
<div class="container">
<div class="display">
<div class="img_box"><img src="../img/1page/slide1.png"></div>
<div class="img_box"><img src="../img/1page/slide2.png"></div>
<div class="img_box"><img src="../img/1page/slide3.png"></div>
</div>
<div class="btn_1">
<button class="start" type="submit"><img src="../img/icon/ic_play.png"></button>
<button class="stop" type="submit"><img src="../img/icon/ic_pause.png"></button>
</div>
</div>
</header>
<script>
console.clear();
$('.display').slick({
autoplay: true,
autoplaySpeed:1000,
});
$('.start').click(function(){
$('.display').slick('slickPlay');
$('.start').hide();
$('.stop').show();
});
$('.stop').click(function(){
$('.display').slick('slickPause');
$('.stop').hide();
$('.start').show();
});
</script>
<script>
$(document).ready(function(){
$('.btn').click(function(){
if($('.nvi').hasClass('close')){
$('.nvi').addClass('more').removeClass('close');
}else if($('.nvi').hasClass('more')){
$('.nvi').addClass('close').removeClass('more');
}
});
});
</script>
</body>
</html>
*css
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
* {
box-sizing: border-box;
text-decoration: none;
}
input {
vertical-align: middle;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
ol, ul {
list-style: none;
}
div {
display: block;
}
body {
line-height: 1;
font-family: 'Noto Sans KR', sans-serif;
}
#wrap_text {
text-align: end;
padding-right: 5%;
}
#wrapper {
position: absolute;
left: 0;
top: 0;
padding: 10px 232px 5px;
width: 100%;
box-sizing: border-box;
border-bottom: 1px solid white;
z-index: 10;
}
header #wrapper nav > ul > li > a {
display: block;
position: relative;
width: 160px;
height: 70px;
font-size: 20px;
color: white;
line-height: 70px;
text-decoration: none;
top: 0px;
z-index: 10;
text-align: center;
}
#wrapper > nav + div {
position: absolute;
left: 0;
top: 85px;
width: 100%;
height: 200px;
background: rgba(24, 75, 159, .7);
transition: all 0.5s;
z-index: -1;
}
header #wrapper nav > ul >li {
display: inline-block;
position: relative;
}
header #wrapper nav > ul ul li {
line-height: 25px;
padding-left: 0px;
}
header #wrapper nav > ul ul a {
font-size: 20px;
color: white;
z-index: 10;
}
header #wrapper nav > ul ul {
padding-top: 15px;
position: absolute;
width: 100%;
text-align: left;
height: 230px;
transition: all 0.5s;
padding-left: 40px;
}
.img_wrap img{
width: 133px;
height: 30px;
}
header >a {
position: absolute;
display: flex;
right: 10%;
top: 30px;
width: 50px;
z-index: 100;
}
header .img_wrap {
position: absolute;
left: 30px;
top: 30px;
z-index: 100;
margin-left: 20%;
height: 30px;
}
header .container .display img{
width: 100%;
height: 900px;
filter: opacity(0.8) drop-shadow(0 0 0 rgb(0, 0, 0));
display: block;
position:relative;
}
.display button{
position:absolute;
z-index:1;
top:50%;
transform:translateY(-50%);
width:71px;
height:71px;
border-radius:100%;
background:rgba(0,0,0,.5);
border:none;
}
.display button::before {
font-family:"xeicon";
display:block;
color:#fff;
font-size:0;
}
X
X
카피하지않고 공부하면서 할려고 하니 1~2주차 프로젝트때보다 힘들다