.xin-box{
    width: 100%;
    height: 100%;
    position: relative;
    background: url("../images/xin/bg.jpg") no-repeat center center;
    background-size: cover;
    overflow: hidden;
}


.xin-items{
    position: absolute;
    top: 0;
    z-index: 200;
    width: 500px;
    height: 500px;
    background-repeat: no-repeat;
    background-image: url('../images/xin/home.png');
    background-size: 1050px 1499px;
    background-position: -550px 0;
    opacity: .8;
    -webkit-animation-name: STAR-MOVE;
    animation-name: STAR-MOVE;
    -webkit-animation-duration: 275s;
    animation-duration: 275s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;

    animation: shan 3s infinite linear;
    z-index: 0;
}
.xin-items:nth-of-type(1){
    left: 0;
}
.xin-items:nth-of-type(2){
    left: 500px;
    animation-delay: 2s;
}
.xin-items:nth-of-type(3){
    left: 1000px;
}
.xin-items:nth-of-type(4){
    left: 1500px;
    animation-delay: 2s;
}
.xin-items:nth-of-type(5){
    left: 2000px;
}

@keyframes shan {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



@-webkit-keyframes STAR-MOVE {
    from {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }

    to {
        -webkit-transform: translate3d(-2500px,-40px,0);
        transform: translate3d(-2500px,-40px,0)
    }
}

@keyframes STAR-MOVE {
    from {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }

    to {
        -webkit-transform: translate3d(-2500px,-40px,0);
        transform: translate3d(-2500px,-40px,0)
    }
}