Firefox中的CSS Zoom属性 [英] CSS Zoom property in the Firefox

查看:231
本文介绍了Firefox中的CSS Zoom属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我根据body上的zoom属性,根据缩放比例设置了几乎所有的像素大小和分辨率.之后,我知道Firefox根本不支持它.

I set almost all sizes in pixels and based resolution depending scaling based on zoom property on body. And after that I got to know that Firefox doesn't support it at all.

我找到了使用变换比例和原点的解决方案,但是它改变了整个页面的宽度和高度,这不是我所期望的.

I found solution to use transform scale and origin, but it change width and height of entire page and it's not that I expect.

我不希望仅因为Firefox而重写每个分辨率的所有元素的大小,而仅使用具有zoom属性的一个字符串即可.

I don't want to rewrite sizes of all elements for each resolution just because Firefox, I can do it with only one string with zoom property.

我的情况有什么解决办法吗?

Is there any solutions for my situation?

推荐答案

您无法在firefox中使用CSS缩放页面或其他内容,因为fire不支持zoom属性...阅读更多>>

You can't zoom your page or anything using css in firefox, because fire not support zoom property... readmore>> How can I zoom an HTML element in Firefox and Opera?

这篇关于Firefox中的CSS Zoom属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆