rotate

CSS实现3D切换效果

先上效果图和代码吧鼠标悬浮上去,蓝色的front面开始旋转蓝色的front面转过90°时,黄色的back面会显现出来, div# outer{ width: 200px; height: 200px; position: relative; perspective: 300px; margin:10

CSS3 3D变换之综合运用 - 3D bo

先上效果图吧点击'roll'按钮,会出现旋转的动画代码如下 div# camera{ width: 500px; height: 500px; outline: 1px solid black; margin:100px auto; position: relative; perspe