.box{
animation: cube_animation ease-in-out 6s infinite forwards;
transform-style: preserve-3d;
transform-origin: 90px 90px 90px;
}
.bside{
width: 180px;
height: 180px;
position: absolute;
transform: translatex(-90px) translatez(90px) rotatey(90deg);
}
.cside{
width: 180px;
height: 180px;
position: absolute;
transform: translatez(90px) translatey(90px) rotatex(90deg);
}
.eside{
width: 180px;
height: 180px;
position: absolute;
transform: translatez(90px) translatey(-90px) rotatex(90deg);
}
查看更多关于css3之3D魔方动画(小白版)的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did101665