Thursday, May 18, 2017

Font Size For Mobile Sites?


I am designing a mobile site, and I'm wondering what I should set the font size as. Any suggestions?



Answer



Like any normal web design, it's worth staying away from pixel sizes so if a user really needs larger text they can still use your site.


Unless you're targetting a specific group of phones that you can test, it's best to let the OS and browser handle the size. font-size: medium; should be fine for content, and then you should be able to make em based adjustments for larger or smaller text. That will give a better user experience across a larger amount of devices.



If you want to optimise the experience, then it all depends on your content and what devices you're targeting. The only way you'll only find the optimal size is by testing.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...