How can I zoom an HTML element in Firefox and Opera?
The zoom
property is working in IE, Google Chrome and Safari, but it’s not working in Firefox and O
I would change zoom
for transform
in all cases because, as explained by other answers, they are not equivalent. In my case it was also necessary to apply transform-origin
property to place the items where I wanted.
This worked for me in Chome, Safari and Firefox:
transform: scale(0.4);
transform-origin: top left;
-moz-transform: scale(0.4);
-moz-transform-origin: top left;