• 카테고리

    질문 & 답변
  • 세부 분야

    웹 개발

  • 해결 여부

    미해결

하얀줄이 사진위로 올라옵니다.

20.09.17 12:41 작성 조회수 157

0

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+KR:wght@400;500;700&display=swap');
/* layout */
body{
    font-family'Noto Sans KR', sans-serif;
    font-size14px;
}

.wrap {
    width:100%;
    overflow: hidden;
}

.en{
    font-family'Bebas Neue', cursive;
}

/* header */
header{
    width100%;
    position: fixed;
    z-index100;
    background: #191a1a;
}

.innerHeader{
    padding : 0 60px;
    height90px;
    transition : all 0.3s;
}

.innerHeader .logo{
    width200px;
    height36px;
    float: left;
    margin-top28px;
    transition: all 0.3s;
}

.innerHeader .logo a{
    display: block;
    width100%;
    height100%;
    position: relative;
}

.innerHeader .logo a img{
    width100%;
    position: absolute;
    top0;
    left0;
    transition: all 0.3s;
}

.innerHeader .logo a img:nth-child(2){
    opacity0;
}

/* gnb */
.gnb{
    position: absolute;
    left50%;
    transform : translateX(-50%);
    width800px;
}

.gnb>li{
    float:left;
    width20%;
    height90px;
    line-height90px;
    position:relative;
    transition: all 0.3s;
}

.gnb>li>a{
    display:block;
    width100%;
    height100%;
    text-align: center;
    color: white;
    font-size18px;
    font-weight500;
}

.gnb>li>a:before{
    position: absolute;
    content:'';
    background: #f8b922;
    width75%;
    height100%;
    z-index-1;
    left50%;
    transform:translateX(-50%);
    top:-90px;
    opacity0;
    transition: all 0.3s;
}

.gnb li:hover>a:before.gnb li>a:focus:before{
    opacity1;
    top:0;
}

.gnb ul.inner{
    position: absolute;
    top:80px;
    left12%;
    width160px;
    background: white;
    box-shadow2px 2px 8px rgba(0,0,0,0.1);
    padding0;
    box-sizing: border-box;
    line-height0px;
    opacity0;
    transition: opacity 0.5s, top 0.5s;
    overflow: hidden;
}

.gnb ul.inner.on{
    top:90px;
    padding10px 25px;
    line-height50px;
    opacity1;
}

.gnb ul.inner a{
    display: block;
    width100%;
    height100%;
    font-size17px;
}

.gnb ul.inner a span{
    display:inline-block;
    position: relative;
}

.gnb ul.inner a span:after{
    content:'';
    width0%;
    height2px;
    background: #f8b922;
    position: absolute;
    left0;
    bottom8px;
    transition: all 0.3s;
}

.gnb ul.inner a:hover span:after,.gnb ul.inner a:focus span:after{
    width100%;
    padding-right10px;
}

/* fixHeader */
header.on .innerHeader{
    height60px;
    transition: all 0.4;
}

header.on .innerHeader .logo{
    margin-top13px;
    transition: all 0.4;
}

header.on .innerHeader .logo a img:nth-child(1){
    opacity0;
}

header.on .innerHeader .logo a img:nth-child(2){
    opacity1;
}

header.on .innerHeader .gnb > li{
    height60px;
    line-height60px;
    transition: all 0.4;
}

header.on .gnb ul.inner.on{
    top60px;
}

/* section.visual */
.visual .slide li{
    position: relative;
    width100%;
    height870px;
    text-align: center;
    color:white;
}

.visual .slide li:before{
    content'';
    width32px;
    height32px;
    position: absolute;
    left50%;
    transform: translateX(-50%);
    top22%;
    background: url(../img/symbol.png) no-repeat center/cover;
    z-index1;
}

.visual .slide li img{
    height100%;
    width: auto;
    position: absolute;
    left50%;
    transform: translateX(-50%) scale(1);
    top0;
}

.visual .slide li .txt{
    position: absolute;
    width100%;
    top34%;
    font-size135px;
    line-height1;
    letter-spacing12px;
}

.visual .slide li a{
    display: inline-block;
    position: absolute;
    left50%;
    transform: translateX(-50%);
    bottom27%;
    font-size20px;
    letter-spacing1px;
}

.visual .slide li a:after{
    content:'';
    width65%;
    height2px;
    position: absolute;
    left50%;
    transform: translateX(-50%);
    bottom-6px;
    background: #f8b922;
    transition: all 0.3s;
}

.visual .slide li a:hover:after.visual .slide li a:focus:after{
    width100%;
    transition: all 0.3s;
}

/* mask */
.visual .slide li .mask{
    display: block;
    position: absolute;
    top0;
    width1px;
    height100%;
    background: rgba(255,255,255,0.35);
}

.visual .slide li .mask.a {
    left0%;
}

.visual .slide li .mask.b {
    left25%;
}

.visual .slide li .mask.c {
    left50%;
}

.visual .slide li .mask.d {
    left75%;
}

/* 화살표 */

.slick-arrow{
    position: absolute;
    top50%;
    transform: translateY(-50%);
    z-index20;
    background: none;
    width110px;
    height52px;
    border: none;
    text-align: right;
    text-transform: uppercase;
    font-size20px;
    color:#fff;
    letter-spacing2px;
    font-family'Bebas Neue', cursive;
}

.slick-next{
    right0;
    text-align: left;
}

.slick-arrow:after{
    content:'';
    position: absolute;
    left0;
    top50%;
    transform: translateY(-50%);
    width55%;
    height2px;
    background: #fff;
}

.slick-next:after{
    left:45%;
}

.slick-arrow:before{
    content'';
    width0%;
    height100%;
    background: #fff;
    position: absolute;
    top0;
    transition: all 0.4s;
    z-index-1;
}

.slick-next:before{
    right0;
}

.slick-prev:before{
    left0;
}

/* 화살표 호버 효과 */

.slick-arrow:hover{
    color:#000;
    transition: all 0.3s;
    cursor: pointer;
}

.slick-arrow:hover:before{
    width112%;
}

.slick-arrow:hover:after{
    background: #f8b922;
}

/* 인디케이터 */
.visual .slide .slick-dots{
    position: absolute;
    bottom10%;
    left50%;
    transform: translateX(-50%);
    z-index20;
}

.visual .slide .slick-dots li{
    width2px;
    height20px;
    float: left;
    margin0 10px;
}

.visual .slide .slick-dots li:before{
    display: none;
}

.visual .slide .slick-dots li button{
    width100%;
    height100%;
    background: #fff;
    border:none;
    text-indent-9999px;
}

.visual .slide .slick-dots:hover.visual .slide .slick-dots button:hover{
    cursor: pointer;
}

/* 활성화된 슬라이드 인디케이터 크기와 색 변경 */

.visual .slide .slick-dots li.slick-active button{
    background: #f8b922;
    height28px;
    margin-top-12px;
    transition: height 0.3s;
}

/* 슬라이드 애니메이션 */
/* 1. 노란게이지바 */

.visual .slick-active:after{
    content:'';
    width100%;
    height5px;
    background: #f8b922;
    position: absolute;
    left0;
    bottom0;
    animation-name: bar;
    animation-duration6s;
}

@keyframes bar{
    0%{width0%;}
    100%{width100%;}
}

/* 2. 마스크 애니메이션 */

@keyframes mask{
    0%{width25%background: #000;}
    50%{width25%background: #000;}
    99%{background: #000;}
}

.visual .slick-active .mask.a{
    animation-name: mask;
    animation-duration0.4s;
}

.visual .slick-active .mask.b{
    animation-name: mask;
    animation-duration0.6s;
}

.visual .slick-active .mask.c{
    animation-name: mask;
    animation-duration0.8s;
}

.visual .slick-active .mask.d{
    animation-name: mask;
    animation-duration1s;
}

/* splitting text animation */

.visual .slick-active .splitting .char {
    display: inline-block;
    animation: slide-up 1s cubic-bezier(.50.51) both;
    animation-delay: calc(60ms * var(--char-index));
}

@keyframes slide-up{
    0%{transform: translateY(30px);
    opacity0;}
    80%{transform: translateY(30px);
        opacity0;}
}

/* FIND OUT MORE 버튼 애니메이션 */

.visual .slick-active a{
    animation-name: slide-up2;
    animation-duration1s;
}

@keyframes slide-up2{
    0%{bottom20%;opacity0;}
    60%{bottom20%;opacity0;}
}

.visual .slick-active img{
    animation-name: img;
    animation-duration7s;
}

@keyframes img{
    0%{transform: scale(1.2) translateX(-50%);}
}

/* contents */
.contents{
    position: relative;
    background: #fff;
    margin-bottom5000px;
}

.contents .line{
    display: block;
    position: absolute;
    top0;
    width1px;
    height100%;
    background: #eee;
}

.contents .line.a{
    left25%;
}

.contents .line.b{
    left50%;
}

.contents .line.c{
    left75%;
}

/*information*/

.contents .information .scrollBox{
    width1200px;
    margin:0 auto;
    position: relative;
    margin-bottom150px;
}

.contents .information .scrollBox .scroll{
    display: block;
    width350px;
    height60px;
    background: #f8b922;
    padding-left25px;
    box-sizing: border-box;
    font-size20px;
    letter-spacing2px;
    position: relative;
    line-height60px;
}

.contents .information .scrollBox .scroll span{
    width60px;
    height60px;
    position: absolute;
    right0;
    top0;
    animation: scroll linear 0.8s 0s infinite;
}

.contents .information .scrollBox .scroll span img{
    width100%;
}

@keyframes scroll{
    0%{top:0;}
    50%{top7px;}
    100%{top0;}
}

.contents .inner{
    width1200px;
    margin0 auto;
    position: relative;
}

.contents .inner:after{
    content:'';
    width3px;
    height60px;
    position: absolute;
    left50%;
    top-60px;
    transform: translateX(-50%);
    background: #f8b922;
}

/* 공통된 타이틀 */

.contents .title{
    color:#666;

}

.contents .title .en{
    font-size:62px;
    letter-spacing10px;
    color: #5d6168;
    line-height1.1;
}

.contents .title p{
    font-size24px;
    margin-top15px;
}

답변 2

·

답변을 작성해보세요.

0

LHooOoo님의 프로필

LHooOoo

질문자

2020.09.17

보냈습니다~

0

현우님^^ 안녕하세요? 작업파일을 제 메일로 보내주시면...결과를 보고 말씀드릴께요^^
지금 상태로는 쪼오금 알아보기 어려우니...파일을 제 메일로 보내주세요^^
메일 주소 알지요?
기다리고 있겠습니다.
남은 오후도 행복한 시간 되구요^^
J.young드림~