[英]CSS transform ok in Chrome and Edge but ugly in Firefox
1st check the console and if there any errors solve it. 1st 检查控制台,如果有任何错误解决它。 also try out with也试试
@-moz-document url-prefix() {
.class {
property:value;
}
}
or或者
-moz-transform:
it may work它可能工作
Firefox does renders images as good as Chrome and Edge(thumbs up), so for now you can use a image of bigger dimensions and use CSS to fit to shrink into the container(DIV). Firefox 渲染图像的效果与 Chrome 和 Edge 一样好(竖起大拇指),所以现在您可以使用更大尺寸的图像并使用 CSS 来适应缩小到容器(DIV)中。 Then you can use CSS transformations to give zooming effect.然后您可以使用 CSS 转换来提供缩放效果。
Thanks.谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.