Autosetting website mobile initial zoom with mobileAutoZoom.js
This is a little tweak I felt like sharing.
mobileAutoZoom auto-set the “initial-zoom” in the “viewport” meta as much as it’s necessary to display your template.
It replaces the meta “viewport” according to the window.innerWidth / layout_width
division The result is the optimal zoom level.
No comments yet.