Skip to content

Instantly share code, notes, and snippets.

@xilin
Forked from mojoaxel/font-boosting.css
Created April 19, 2017 11:44
Show Gist options
  • Save xilin/44b2238bdb19f536741dc9c49e96779c to your computer and use it in GitHub Desktop.
Save xilin/44b2238bdb19f536741dc9c49e96779c to your computer and use it in GitHub Desktop.
Disable font boosting on mobile browsers
/* disable font boosting on mobile browsers */
body * {
max-height: 1000000em; /* Chrome for Android */
-moz-text-size-adjust: none; /* Firefox Mobile */
-webkit-text-size-adjust: 100%; /* Safari */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment