zoom css/javascript

后端 未结 3 409
有刺的猬
有刺的猬 2020-12-01 09:44

I would like to know how zoom property can be controlled through javascript, like div.style.top , how to specify for zoom ?

3条回答
  •  借酒劲吻你
    2020-12-01 09:57

    It is a property of style, but it's not supported by all browsers. It's a non-standard Microsoft extension of CSS that Internet Explorer implements. It is accessed like this:

    div.style.zoom
    

提交回复
热议问题