Minimum font limit test on the mobile side

Source: Internet
Author: User

First, the following code is opened in a different browser to test:<! DOCTYPE html>

<meta charset= "UTF-8" >
<title>Document</title>
<meta name= "viewport" content= "Width=device-width, User-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 ">
<style>
Body{font-family: "Blackbody-Jane", "Microsoft Jas Black";}
</style>

<body>
<p style= "font-size:1px" >font-size:1px, this is font number 1th </p>
<p style= "font-size:2px" >font-size:2px, this is font number 2nd </p>
<p style= "font-size:3px" >font-size:3px, this is font number 3rd </p>
<p style= "font-size:4px" >font-size:4px, this is font number 4th </p>
<p style= "font-size:5px" >font-size:5px, this is font number 5th </p>
<p style= "font-size:6px" >font-size:6px, this is font number 6th </p>
<p style= "font-size:7px" >font-size:7px, this is font number 7th </p>
<p style= "font-size:8px" >font-size:8px, this is font number 8th </p>
<p style= "font-size:9px" >font-size:9px, this is font number 9th </p>
<p style= "font-size:10px" >font-size:10px, this is font number 10th </p>
<p style= "font-size:11px" >font-size:11px, this is font number 11th </p>
<p style= "font-size:12px" >font-size:12px, this is font number 12th </p>
<p style= "font-size:13px" >font-size:13px, this is font number 13th </p>
<p style= "font-size:14px" >font-size:14px, this is font number 14th </p>
<p style= "font-size:15px" >font-size:15px, this is font number 15th </p>
<p style= "font-size:16px" >font-size:16px, this is font number 16th </p>
<p style= "font-size:17px" >font-size:17px, this is font number 17th </p>
<p style= "font-size:18px" >font-size:18px, this is font number 18th </p>
<p style= "font-size:19px" >font-size:19px, this is font number 19th </p>
<p style= "font-size:20px" >font-size:20px, this is font number 20th </p>
<p style= "font-size:21px" >font-size:21px, this is font number 21st </p>
<p style= "font-size:22px" >font-size:22px, this is font number 22nd </p>
<p style= "font-size:23px" >font-size:23px, this is font number 23rd </p>
<p style= "font-size:24px" >font-size:24px, this is font number 24th </p>
<p style= "font-size:25px" >font-size:25px, this is font number 25th </p>
<p style= "font-size:26px" >font-size:26px, this is font number 26th </p>
<p style= "font-size:27px" >font-size:27px, this is font number 27th </p>
<p style= "font-size:28px" >font-size:28px, this is font number 28th </p>
<p style= "font-size:29px" >font-size:29px, this is font number 29th </p>
<p style= "font-size:30px" >font-size:30px, this is font number 30th </p>
<p style= "font-size:31px" >font-size:31px, this is font number 31st </p>
<p style= "font-size:32px" >font-size:32px, this is font number 32nd </p>
<p style= "font-size:33px" >font-size:33px, this is font number 33rd </p>
<p style= "font-size:34px" >font-size:34px, this is font number 34th </p>
<p style= "font-size:35px" >font-size:35px, this is font number 35th </p>
<p style= "font-size:36px" >font-size:36px, this is font number 36th </p>
</body>
 second, the test results:1. Iphone6-plus, iphone5:, QQ directly open, Safari font can start from the 1px font;2. Xiaomi 2s:, QQ browser minimum display font 8px, the smallest font from the browser starting from 1px;3. Xiaomi 4s:firefox can start with a minimum font size of 1px, and the smallest display font in Chrome is 12px;4. pc:360 Secure Browser 7: Minimum 12px;firefox and ie10 minimum display font is 1px. 5. Not indicated for the non-test model;      Conclusion: The minimum mobile font size is 12px (only chrome has this limit), it is recommended to use 12px minimum;if there are less than 12px fonts in the design, write the CSS style according to the actual font size; conclusion The 2:iphone mobile device is not limited by the minimum font size.Other devices may be subject to 8px restrictions;the minimum limit is 12px in chrome.  speculation: With the mobile phone resolution is constantly expanding, the font size will no longer have restrictions;Phenomenon: Millet 2 is 720x1080, the measured height of 10px character is 10px*2-2px=18px;11px measured height is 20px;phenomenon 2: Size, very strangeiphone6plus:639x1136iphone5:640x1136Millet 2s:720x1280Millet 4s:540x960   IOS7 Web page Use font standard: Level three17px14px10px (from the above results you can see the iphone class device font size is not limited by 12px)fonts can be used in bold and simple  

extended read:https://github.com/islittle/Web-Developer/blob/master/css-notes/ COMPATIBLE-WITH-LESS-THAN-12PX-FONTSIZE.MD compatible with less than 12px fonts

Minimum font limit test on the mobile side

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.