Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zoom css property is not working on firefox

Tags:

html

css

I searched for this and found many solutions (using css3 transition).

Actually i am using {zoom:1.5} for all my buttons. But it is not working on firefox. when I use transition property like:

-moz-transform: scale(1.5); /* Firefox */
-moz-transform-origin: 0 0;

All my buttons are overlapping. See ok and cancel button. enter image description here

Is there any other alternative for this?? any help??

like image 849
Sumit Raghav Avatar asked Oct 18 '13 12:10

Sumit Raghav


2 Answers

You can use:-

-moz-transform: scale(0.8);

in firefox as alternative..

like image 101
Karim Ali Avatar answered Sep 24 '22 07:09

Karim Ali


To scale 50% and keep top center:

transform: scale(0.5);
transform-origin: 50% 0;

This did work with Safari/Firefox/Chrome (I did not test with IE)

like image 23
ricardo Avatar answered Sep 25 '22 07:09

ricardo