How do I customize fonts? With HTML5 's font-face.

Source: Internet
Author: User

This is very simple, the first you want to get a font, you do it yourself, or download it, and then login this URL www.fontsquirrel.com/fontface/generator

1. Click Upload fonts to upload your font

2. Select the second item optimal

3. Click the red font,Yes, the fonts I ' m uploading is legally eligible for Web embedding.

Then you create a compressed package file, and then you open it, copy the code into the stylesheet, then people from different browsers can see your font, but note that font-face in the font-family font is the name you set, can be changed, You should remember to change your name when you use this font.

How do I customize fonts? With HTML5 's font-face.

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.