Friday, June 1, 2012

Preserve font-size in iPhone landscape orientation

Add the following in a landscape-specific media query (see StackOverflow article):

html {
-webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}

No comments:

Post a Comment