css - 过渡后在 Safari 中呈现问题

标签 css image rendering

我有一个幻灯片放映,可以在每个图像可见时将其放大。在所有看起来不错的浏览器中,除了在 Safari 中,当任何其他 css 转换操作被触发时,该图像的平滑看起来非常糟糕。

这是一张图片:http://snag.gy/43LaH.jpg

右图是过渡后的图(看草地和泥地)。

有什么建议吗?

最佳答案

找到了一个似乎欺骗了渲染引擎的问题的解决方案......但它绝对是一个 hack

#showcase img {
    -webkit-animation: spinhack 1s linear infinite;
    -moz-animation: spinhack 1s linear infinite;
    animation: spinhack 1s linear infinite;
}

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

关于css - 过渡后在 Safari 中呈现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29006232/

相关文章:

opengl - 基于物理的渲染: role of ambient light in BRDF

css - Firefox 不喜欢 Sharepoint 列表的 XSL 文件中的内联 CSS?

css - 有条件的,即在 Symfony 1.2 中包含 css

html - 是否有任何 CDN 来源或任何其他来源可供我引用 CSSPIE3 js?

css - Bootstrap : rows overlaping & height inconsistency

Java图形图像解释?

java - 如何在不损失图像边缘质量的情况下旋转 ImageView

javascript - 如何将延迟加载与 TinyMCE 结合?

opengl - PyOpenGL:glVertexPointer()偏移问题

layout - 避免平铺 SVG 形状之间的线条