CSS Zoom property in the Firefox

2019-08-16 17:20发布

问题:

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.

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?

回答1:

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?



标签: css firefox zoom