[英]css3 transition issue with chrome
I am working on SVG, an object inside SVG has simple transition style , but it has issue in chrome and it breaks the objects and it can't show smooth transition. 我正在使用SVG,SVG中的对象具有简单的过渡样式,但是在chrome中存在问题,它破坏了对象并且无法显示平滑的过渡。
Do you have any idea? 你有什么主意吗? I Have already read lots of post like this one and none of them helps: http://www.sitepoint.com/fix-chrome-animation-flash-bug/
我已经读过很多这样的帖子,但它们都没有帮助: http : //www.sitepoint.com/fix-chrome-animation-flash-bug/
These style doesn't change the issue: 这些样式不会改变问题:
-webkit-backface-visibility: hidden; -webkit-transform: scale(1);
<pre>
<style>
.irwild:hover , .comwild:hover , .irstd:hover , .comstd:hover {
transform: translate(-30px);
-ms-transform: translate(-30px);
-webkit-transform: translate(-30px);}
.irwild , .comwild , .irstd , .comstd {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;}
</style>
</pre>
if you have difficulty animation use -webkit-transform: translateZ(0); 如果您在动画方面遇到困难,请使用-webkit-transform:translateZ(0); to make chrome use hardware acceleration.
使chrome使用硬件加速。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.