0725

벨로그용·2022년 7월 25일
0

ai스쿨

목록 보기
41/60

1)학습한 내용

*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/1page.css">
    <link rel="stylesheet" href="./wow/animate.css">
    <script src="./wow/wow.min.js"></script>
    <script>new WOW().init();</script>
    <link rel="shortcut icon" href="./img/common/web.png" type="image/x-icon">
    <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">
    <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
    <title>Resoft</title>
</head>
<body>
    <!--헤더부분-->
    <header class="header">
    
        <a class="img_wrap" href="./1page/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="./3page/3page.html">사업현황</a>
                        <ul class="nvi close">
                            <li><a href="./3page/3page.html#section_ecoce">ECOCE</a></li>
                            <li><a href="./3page/3page.html#section_moado">MoaDo</a></li>
                            <li><a href="./3page/3page.html#section_etc">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>

<!--section 1-->

<section id="section1">

    <div class="news">

    <div class="news_text">
        <h1>리소프트의 새로운 소식</h1>
        <h5>RESOFT NEWS</h5>
    </div>
    
    <div class="news_img">

        <div class="news_tag_img">

        <div class="news_tag1">
            <a href="#"><div class="news_tag1_img"><img src="./img/common/news@2x.png"></div><h2>Lorem ipsum dolor sit amet,<br> consetetur sadipscing elit...</h2><br><br><br><br><h3>2022.01.01</h3></a>
        </div>

        <div class="news_tag2">
            <a href="#"><div class="news_tag2_img"><img src="./img/common/news@2x.png"></div><h2>Lorem ipsum dolor sit amet,<br> consetetur sadipscing elit...</h2><br><br><br><br><h3>2022.01.01</h3></a>
        </div>

        <div class="news_tag3">
            <a href="#"><div class="news_tag3_img"><img src="./img/common/news@2x.png"></div><h2>Lorem ipsum dolor sit amet,<br> consetetur sadipscing elit...</h2><br><br><br><br><h3>2022.01.01</h3></a>
        </div>
        
        <div class="news_tag4">
            <a href="#"><div class="news_tag4_img"><img src="./img/common/news@2x.png"></div><h2>Lorem ipsum dolor sit amet,<br> consetetur sadipscing elit...</h2><br><br><br><br><h3>2022.01.01</h3></a>
        </div>
    </div>
    </div>
</div>
</section>

<!-- section2 -->
<section class="section2">
        
        <div class="pro_text">
            <h1>프로젝트</h1>
            <h2>RESOFT PROJECT</h2>
            <h3>쾌적한 서비스 제공을 위해 사용자 입장에서<br> 생각하고 항상 새로운 도전을 시도합니다.</h3>
            <h4>첨단 기술 서비스 제공을 위해 사용자 입장에서<br><br> 생각하고 항상 새로운 도전을 시도합니다.</h4>
        </div>
        
    <div class="eco_text">
        <div class="eco">
            <img src="./img/common/main_ecoce@2x.png">
        </div>
        <div class="text_1"><h1>에코스 ECOCE(ECO-Clean Earth)</h1>
            <h2>국내 최초<br>탄소중립 실천인증 플랫폼</h2>
    </div>
    </div>

    <div class="moa_text">
        <div class="moa">
            <img src="./img/common/main-moado@2x.png">
        </div>
        <div class="text_2"><h3>모아두 (moaDo)</h3>
       <h4>내 손안의 모바일 회원수첩</h4>
    </div>
    </div>

        <div class="pro_ani">
            <lottie-player src="./img/animation/lf20_hk8wc3df.json" background="transparent" speed="1" style="width: 680px; height: 680px;" loop autoplay></lottie-player>
        </div>

        <div class="pro_ani1">
            <lottie-player src="./img/animation/80271-man-working-on-a-new-business-idea.json" background="transparent" speed="1" style="width: 680px; height: 591px;position: absolute;" loop autoplay></lottie-player>
        </div>
</section>
<!--NAV 슬라이드 -->
    <script>
console.clear();
$('.display').slick({
    autoplay: true,
    autoplaySpeed:1500,
    
});

$('.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;
}


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 auto;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

div {
    display: block;
}

body {
    width: 1920px;
    line-height: 1;
    max-width:100%;
    font-family: 'Noto Sans KR', sans-serif;
}


/*헤더부분*/
.header{
    width: 100%;
    position: relative;
}

#wrap_text a:hover{
    color: blue;
}

#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 1s;
    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{
    position: absolute;
    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;
}

.display button.slick-prev {
    top: 780px;
    left: 240px;
    width: 60px;
    height: 40px;
    background:transparent url(../img/icon/ic_prev_wt.png) 0% 0% no-repeat padding-box;
}

.display button.slick-next{
    top: 780px;
    left: 358px;
    width: 60px;
    height: 40px;
    background:transparent url(../img/icon/ic_next_wt.png) 0% 0% no-repeat padding-box;
}

.close{
    opacity: 0; 
    display: none;

}
.more{
    opacity: 1;

    
}

.header .banner-wrap {
    height: 100%;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.header .bannerText {
    position: absolute;
    padding-bottom: 80px;
    left: 240px;
    top: 462px;
}

.header .bannerText p:first-child {
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 35px;
    line-height: 60px;
    text-align: left;
  }
  
  .header .bannerText p:last-child {
    font-weight: 500;
    line-height: 20px;
    font-size: 18px;
  }

  .header .bannerText-wrap {
    color: #ffffff;
  }

.banner_img {
    position: absolute;
    z-index: 1;
}

.header .container .btn_1 .start{
    position: absolute;
    z-index: 1;
    border: none;
    top: 770px;
    left: 315px;
    width: 18px;
    height: 21px;
    background: transparent;
    display: none;
    cursor: pointer;
}

.header .container .btn_1 .stop{
    position: absolute;
    z-index: 1;
    border: none;
    top: 770px;
    left: 315px;
    width: 15px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}


/*section 1*/
#section1{
    width: 100%;
    position: relative;
    height: 700px;
}
.news{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}
.news_text{
    position: absolute;
}
.news_text h1{
    font-size: 40px;
    margin-top: 80px;
    margin-left: 240px;
}

.news_text h5{
    margin-left: 240px;
    font-size: 18px;
    color: #C8C8C8;
}

.news_img{
    left: 240px;
    top: 200px;
    position: absolute;
    
}

.news_tag_img{
    display: flex;  
    position: relative;
}

.news_tag1, .news_tag2 ,.news_tag3{
    margin:30px 40px 0 0;
    padding-right:40px;
    border-right: 1px solid #C8C8C8;
    
}

.news_tag1_img{
    overflow: hidden;
    border-radius: 22px;
}

.news_tag2_img{
    overflow: hidden;
    border-radius: 22px;
}

.news_tag3_img{
    overflow: hidden;
    border-radius: 22px;
}

.news_tag4_img{
    overflow: hidden;
    border-radius: 22px;
}

.news_tag4{
    margin:30px 100px 0 0;
}


.news_tag_img img{
    width: 300px;
    height: 200px;
    margin: 0 auto;
    transition: all 0.2s linear;
    opacity: 1;
}

.news_tag_img a:hover img{
    transform: scale(1.2)
    
    
}

.news_tag_img a h2{
    color: #1E1E1E;
    font-size: 18px;
}

.news_tag_img a:hover h2{
    color: blue;
}

.news_tag_img a h3{
    color: #AAAAAA;
    font-size: 16px;
    margin-top: 30px;
}

/* section2 */
.section2{
    width:100%;
    height: 1147px;; 
    position: relative;
    background-color: #F9F9F9;
}

.pro_text{
    position: absolute;
    text-align: right;
    left: 1220px;
}

.pro_text h1{
    margin-top: 100px;
    font-size: 40px;
}

.pro_text h2{
    font-size: 18px;
    color: #C8C8C8;
    right: 0;
}

.pro_text h3{
    font-size: 26px;
    margin-top: 50px;
    opacity: 1;
}
.pro_text h4{
    position: absolute;
    opacity: 0;
}

.eco{
    left: 240px;
    top: 211px;
    position: absolute;
    width: 534px;
    height:393px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.eco img{
    width: 534px;
    height:393px;
    margin: 0 auto;
    transition: all 0.2s linear;
    opacity: 1;
    background-color:#F9F9F9 ;
}


.eco_text:hover img{
    filter: brightness(40%);
    transform: scale(1.2)
    
}


.moa{
    left: 240px;
    top: 654px;
    position: absolute;
    width: 534px;
    height:393px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}


.moa img{
    
    width: 534px;
    height:393px;
    margin: 0 auto;
    transition: all 0.2s linear;
    opacity: 1;
    background-image: url(../img/1page/bg_gradation.png);
}

.moa_text:hover img{
    filter: brightness(40%);
    transform: scale(1.2)
}

.moa img:hover img{
    border-radius: 100px;
}

.pro_ani{
    position: absolute;
    top: 371px;
    left: 1000px;
}


.text_1{
    position: absolute;
    visibility:hidden;
    top: 500px;
    left: 270px;

}



.text_1 h1{
    text-align: left;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
    
}

.text_1 h2{
    text-align: left;
    font-size: 15px;
    color: #ffffff;
    font-family: none;
    line-height:2
}

.text_2{
    position: absolute;
    visibility:hidden;
    left: 270px;
    top: 970px;
}

.text_2 h3{
    text-align: left;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.text_2 h4{
    text-align: left;
    font-size: 15px;
    color: #ffffff;
    font-family: none;
}

.eco_text:hover{
    opacity:1;
}

.eco_text:hover .text_1{
    visibility:visible;
}

.moa_text:hover{
    opacity:1;
}

.moa_text:hover .text_2{
    visibility:visible;
}
.pro_ani1{
    opacity: 0;
}

2)학습내용 중 어려웠던점

X

3)해결방법

X

4)학습소감

혼자 모르는걸 찾아보고 공부하니깐 프로젝트 수행이 혼자 코드작성하는데에 많은도움이 되는거같다.

profile
안녕하세요

0개의 댓글