0
當我在懸停時水平移動<div>
時,垂直邊框變得有點像素化並顯示「階梯」效果。有沒有辦法保持垂直線條的美觀和緊密?這是我的代碼:CSS3轉換變換像素化
div.move {
background-color:red;
height:400px;
width:200px;
-webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out;
-ms-transition: all .5s ease-out;
-o-transition: all .5s ease-out;
transition: all .5s ease-out;
}
div.contain:hover .move {
-webkit-transform:translate(184px);
}
小提琴這裏:http://jsfiddle.net/4gw8wcxg/1/
它在小提琴中移動得很漂亮。你有沒有嘗試硬件加速的CSS? [鏈接](http://davidwalsh.name/translate3d) – 2014-11-14 15:29:01
我必須錯過一些東西,我只是看到一個紅色的盒子正在移動。 – 2014-11-14 15:29:02
在我的Chrome瀏覽器中,垂直邊框在移動時崩潰。我如何使用加速的css? – Iwan 2014-11-14 15:39:22