_home-header.scss 1.94 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: 88rem / $pxConvertRem;
    line-height: 88rem / $pxConvertRem;
    @include background-image(linear-gradient(#323232, #414141));
    position: relative;
    .iconfont {
        color: #fff;
    }

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

    .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 .logo {
    font-style: italic;
    font-family: "helvetica","Arial","榛戜綋";
    font-weight: bold;
    color: #fff;
}