Skip to content

Instantly share code, notes, and snippets.



Created Dec 19, 2013
What would you like to do?
Trying to figure out how to scale the fonts globally on a dashboard at work, and I stumbled upon this great tip!
/* Using this, a web page designed for a 720p screen can be simply scaled up to 1080p (or vice-versa) */
/* This works especially well when the graphics are SVG and or icon fonts */
body { zoom: 1.5;} /* 1280 * 1.5 = 1920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment