Mobile web--font settings Best practices

Source: Internet
Author: User

Body {font-family: "Helvetica Neue", Helvetica, Stheiti, Sans-serif;}

iOS 4.0+ uses the English font Helvetica Neue, before the iOS version is degraded using Helvetica.

The Chinese font is set to Chinese blackbody stheiti.

It should be added that the Chinese blackbody does not exist in the iOS font library (Http://support.apple.com/kb/HT5484?viewlocale=en_US), However, the system will automatically hit the Chinese blackbody Stheiti compatible with the system default English font Blackbody-Simple or bold-complex:

Heiti SC Light Blackbody-Jencine
Heiti SC Medium blackbody-Simplified Chinese Black
Heiti TC Light blackbody-complex fine body
Heiti TC Medium blackbody-Black
The default Sans serif font is selected for both Chinese fonts and English fonts under native Android.

4.0 before the version of the English font native Android uses the droid Sans, the Chinese font native Android will hit the droid Sans Fallback.

4.0+ both English and Chinese fonts will use the native Android new Roboto font.

Other third-party Android Systems also consistently select the default sans serif font.

Mobile web--font settings Best practices

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.