erich-friedman / erich-friedman.github.io

41 stars 7 forks source link

Adding viewport to help mobile device display #1

Open Alonso-del-Arte opened 3 years ago

Alonso-del-Arte commented 3 years ago

If you look at the What's Special About This Number? page on a mobile device like the Galaxy S9 (you can use mobile preview on a Web browser like Firefox or Chrome to get an idea of how a page looks on a mobile device with a small display), it looks all crunched up and tiny. The fix is quite easy:

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

That one line in the Head section of the HTML page makes all the difference.