小编ens*_*xte的帖子

变换旋转在chrome中无法正常工作

以下代码在safari中呈现完美的旋转圆,但不在chrome中.

<style>
.circle{
    height:1000px;
    width:1000px;
    background-color:#000;
    border-radius: 50%;
}

@-webkit-keyframes rotating {
from{
    -webkit-transform: rotate(0deg);
}
to{
    -webkit-transform: rotate(360deg);
}
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -webkit-transform-origin: center;
}
</style>

<div class="circle rotating">
</div>
Run Code Online (Sandbox Code Playgroud)

http://jsfiddle.net/p4ban9cs/

它不能完美呈现,旋转大圆时问题是可见的,就像镀铬上的摆动圆圈一样.

谢谢你的帮助.

css google-chrome transform css3

5
推荐指数
1
解决办法
950
查看次数

标签 统计

css ×1

css3 ×1

google-chrome ×1

transform ×1