Unofficial CSS property zoom implemented on WebKit
I found unofficial CSS property "zoom
" is implemented on WebKit (Safari and Google Chrome.) And is not implemented on Gecko (Firefox.)
Here is test of CSS
zoom
. (scale by 200%.)
I think if you wanna scale you SHALL use CSS3 transform as follows:
Here is test of CSS3
transform
. (scale by 200%.)
Note that...
- CSS3 transform is a W3C working draft.
So vender prefix (e.g.
-webkit-
,-moz-
,-o-
, and/or-ms-
) is required. - The default value of
transform-origin
is "50% 50%
" (orcenter center
) So I specifiedtransform-origin: 0 0
(ortop left
) to do the same thing withzoom
.