已采納回答 / fighter_fighting
W3C指出chrome要使用過渡屬性需要添加-webkit-,當(dāng)時(shí)我發(fā)現(xiàn)加上沒有效果,transition: all .6s ;反而可以。
2015-05-19
已采納回答 / fighter_fighting
思路:(1)side_back和side_front兩個(gè)div通過絕對(duì)定位實(shí)現(xiàn)重疊,此時(shí)前后均呈正像可見,side_back在上,side_front在下,由于遮擋只能看見side_back。(2)side_front旋轉(zhuǎn)0度,side_back旋轉(zhuǎn)180度,此時(shí)side_back在上呈倒像不可見,side_front在下呈正像可見。(3)side_back和side_front兩個(gè)div被photo_warp包裹,在之前變換的基礎(chǔ)之上,若添加.photo_back .photo_warp樣式即side_...
2015-05-13