css3製作立方體

css3製作旋轉立方體 一、首先製作一個立方體需要用到2D和3D一些屬性和功能函數: 1、2D和3D位移:transform:translate(); ​ 水平移動:向右移動translate(tx,0)和向左移動translate(-tx,0); ​ 垂直移動:向上移動translate(0,-ty)和向下移動translate(0,ty); ​ Z軸位移: translateZ(); 2、2D
相關文章
相關標籤/搜索