_home-header.scss 2.09 KB
/* @include keyframes(turn) {
    1% {
        @include rotateX(90deg);
        background: image-url('yohologo02.png') no-repeat center center;
        background-size: 100%
    }
    2% {
        @include rotateX(180deg);
        background: image-url('yohologo01.png') no-repeat center center;
        background-size: 100% 
    }

    3% {
        @include rotateX(90deg);
        background: image-url('yohologo02.png') no-repeat center center;
        background-size: 100% 
        
    }
    4% {
        @include rotateX(0deg);
        background: image-url('yohologo02.png') no-repeat center center;
        background-size: 100% 
        
    }
    100% {
        @include rotateX(0deg);
        background: image-url('yohologo02.png') no-repeat center center;
        background-size: 100% 
    }   
} */
.home-header {
    height: 90rem / $pxConvertRem;
    line-height: 90rem / $pxConvertRem;
    @include background-image(linear-gradient(#323232, #414141));
    position: relative;
    z-index: 100;
    .iconfont {
        color: #fff;
    }

    .nav-btn {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        padding: 0 32rem / $pxConvertRem;
    }

    .logo {
        display: block;
        margin: 0 auto;
        width: 208rem / $pxConvertRem;
        height: 87rem / $pxConvertRem;
        background: image-url("yohologo02.png") no-repeat center center;
        background-size: 100%;
        /*@include animation(60s turn infinite);*/

         &.animate{
            background: image-url("yohologo01.png") no-repeat center center;
            background-size: 100%;
         }
    } 

    .search-btn {
        position: absolute;
        right: 32rem / $pxConvertRem;
        top: 0;
        bottom: 0;
        a{
            color: #fff;
        }
    }
}

.girls-wrap .home-header {
    background: #FF88AE;
}

.kids-wrap .home-header {
    background: #7ad9f9;
}

.lifestyle-wrap .home-header {
    background: #4f4138;
}

.kids-wrap .logo {
    font-style: italic;
    font-family: "helvetica","Arial","榛戜綋";
    font-weight: bold;
    color: #fff;
}