HTML and CSS Reference
In-Depth Information
Figure 17-4. The background color changes with the switch in orientation, but the font is scaled up
Android, on the other hand, preserves the original font size, as shown on the right of Figure 17-5 .
Figure 17-5. The font size remains constant in both orientations on Android
To get iOS devices to render the same font size in both orientations, you need to set the viewport's initial
scale to 1 like this (the code is in mq2.html):
<meta name="viewport" content="width=device-width, initial-scale=1 ">
Search WWH ::

Custom Search