*{
    margin: 0;
    padding: 0;
}

body{
    width: 100%;
    height: 100vh;
}

.container{
    width: 100%;
    height: 100%;
    background: #000 url(../image/pic1.jpg);
    background-size: cover;
    position: relative;
}
.container .box{
    position: absolute;
    top: calc(50% - 200px);
    left: calc(50% - 200px);
    width: 400px;
    height: 400px;
    background: #ccc;
    transform-style: preserve-3d; /*定义3D渲染环境*/
    /* transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px,0px,0px); */
    transform: rotateX(-21deg) rotateY(38deg) rotateZ(0deg) translate3d(38px,0px,200px);
}

.container .box > div{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.container .box > div span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #000;
    background: #ccc;
    user-select: none;
}
.container .box > div span img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container .box > div span:nth-child(1){
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px,0px,0px);
}
.container .box > div span:nth-child(2){
    transform: rotateX(90deg) rotateY(0deg) rotateZ(0deg) translate3d(0px,-200px,200px);
}
.container .box > div span:nth-child(3){
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate3d(0px,0px,-400px);
}
.container .box > div span:nth-child(4){
    transform: rotateX(90deg) rotateY(0deg) rotateZ(0deg) translate3d(0px,-200px,-200px);
}
.container .box > div span:nth-child(5){
    transform: rotateX(0deg) rotateY(-90deg) rotateZ(0deg) translate3d(-200px,0px,200px);
}
.container .box > div span:nth-child(6){
    transform: rotateX(0deg) rotateY(-90deg) rotateZ(0deg) translate3d(-200px,0px,-200px);
}