Originally Posted by
Acorn
Fit to width is using a CSS 2D Transform - transform: scale(); method. something like document.getElementsByTagName("html")[0].style.transform = "scale("1.23457")";, where the number is calculated according to the bounds you set and the current viewport width.
Acorn
Bookmarks