css卡牌翻轉效果

卡牌翻轉的步驟:css 1.最外層wrap設置視圖距離perspective:800px;相對定位position: relativehtml 2.父級#box設置轉換爲3d效果transform-style:preserve-3d;spa 3.旋轉元素設置:背景不透視  backface-visibility: hidden;rotateY爲03d 4.另外一個旋轉元素:rotateY爲180d
相關文章
相關標籤/搜索