你的位置:首页 > 软件开发 > 网页设计 > css3之3D魔方动画(小白版)

css3之3D魔方动画(小白版)

发布时间:2016-09-27 23:00:20
.box{ animation: cube_animation ease-in-out 6s infinite forwards; transform-style: preserve-3d; transform-origin: 90px 90px 90px;}.bside ...

css3之3D魔方动画(小白版)

.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魔方动画(小白版)

关键词:CSS

CSS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。