I'm working on a web project and by mistake I have developed the website with "90%
" zoom thus, the page on development stage looks decent, the font sizes are perfect. Now I don't feel like adjusting each and every components thus if it's possible to change the zoom level programatically that would really help me.
Before posting this question, I have done a little research and found this
var scale = 'scale(1)';
document.body.style.webkitTransform = scale; // Chrome, Opera, Safari
document.body.style.msTransform = scale; // IE 9
document.body.style.transform = scale; // General
This is great but when using this, it decreases the size of the body thus creating empty spaces/margin on the borders and doesn't really effect the zoom level in the way it does when changing the browser zoom level from the settings option
If anyone can point me in right direction, it would save me from scratching my head and a lot of time as well.
Looking forward for a trick!!