Skip to content

Instantly share code, notes, and snippets.

@jamiehs
Created December 19, 2013 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiehs/8035629 to your computer and use it in GitHub Desktop.
Save jamiehs/8035629 to your computer and use it in GitHub Desktop.
Trying to figure out how to scale the fonts globally on a dashboard at work, and I stumbled upon this great tip! http://superuser.com/a/635447/283081
/* 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