Head First HTML & CSS 16/03/17

Source: Internet
Author: User

CSS Basic:

Font-famliy

Font-size

Font-style

Text-decoration

Color

Background-color

...

Skills:

Define the parent element in the body selector and inherit the subclass for easy administration

The option after Font-famliy is actually a preferred list to select

Font-size in body is best to define Small,medium,large first ... Subclasses change through 200%,1.2EM

Font-style control italic, and <em> nature different italic

Text-decoration Text style underline

Color,background-color Color control via RGB (0~255)

@font-face{
font-family: "Edsonlin Font";
Src:url ("Font/alexbrush-regular.ttf");
}

CSS built-in format

If the font PC is not installed, you can use the Webfont to customize the font

Sticky operation

Head First HTML & CSS 16/03/17

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.