如何在 Firefox 和 Opera 中缩放 HTML 元素? [英] How can I zoom an HTML element in Firefox and Opera?

查看:23
本文介绍了如何在 Firefox 和 Opera 中缩放 HTML 元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Firefox 和 Opera 中缩放 HTML 元素?

How can I zoom an HTML element in Firefox and Opera?

zoom 属性在 IE、Google Chrome 和 Safari 中有效,但在 Firefox 和 Opera 中无效.

The zoom property is working in IE, Google Chrome and Safari, but it’s not working in Firefox and Opera.

有没有什么方法可以将这个属性添加到Firefox和Opera中?

Is there any method for adding this property to Firefox and Opera?

推荐答案

试试这个代码,这行得通:

Try this code, this’ll work:

-moz-transform: scale(2);

您可以参考这个.

这篇关于如何在 Firefox 和 Opera 中缩放 HTML 元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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