0

How to scale the page programmatically by jQuery?

We need to simulate browser zoom 90%. CSS tranform: scale causes certain problems in Mozilla Firefox. So, we need another way. Maybe, it can be ctrl - keypress triggering on document ready. How to execute it?

25th Dec 2019, 9:54 AM
Sona Sarkisian
Sona Sarkisian - avatar
1 Resposta
+ 1
simulate zoom? you're not supposed to do something like that. browser zoom is user-controlled and screwing around with that for something like this makes no sense. if you want it to be 90% you should make it 10% smaller by default and nothing else. css frameworks (e.g. bootstrap which uses jQuery) usually have a container class for the purpose you seem to be after.
25th Dec 2019, 6:23 PM
grdr