What Does 'zoom' do in CSS?

前端 未结 7 1097
孤独总比滥情好
孤独总比滥情好 2020-11-29 00:09

I found that some jQuery Plugin, in their css rule uses \'zoom\' descriptor, I even Look into w3c website and found that it is used to magnify but how can I actually impleme

7条回答
  •  自闭症患者
    2020-11-29 00:51

    As Joshua M pointed out, the zoom function isn't supported only in Firefox, but you can simply fix this as shown:

    div.zoom {
      zoom: 2; /* all browsers */
     -moz-transform: scale(2);  /* Firefox */
    }
    

提交回复
热议问题