"HTML5 and CSS3 Basic Course" Study notes--two Day

Source: Internet
Author: User
Seventh Chapter

1. Style sheet: selector and life block

2.!important: The importance of a statement is higher than the others, at the end of the add

3, attribute value: inherit; is forced inheritance

4, 1em=16px;

5, can accept the attributes without units: Line-height, Z-index, opacity

6, Background-color/color/border/box-shadow/text-shadow:rgba (89,0,127,.2); The last one is transparency.

7. Attribute: HSL (95,10%,28%) Hue, saturation, brightness

Eighth Chapter

1. Add media= "Print/screen/all" to <link/> and <style>

Nineth Chapter

1. Next level sub-element:> neighboring sibling elements: +

2, select the first letter of the element or the first line: Firsr-letter,: First-line "in CSS3, use:: Instead of:"

Tenth Chapter

1, font-weight:bold/(input 100-900 in multiples of 100, 400 for normal thickness, 700 bold)/normal

2. Background-attachment: Does the background picture scroll with the scroll bar

3. Text-aligh:justify to align text at both ends

"HTML5 and CSS3 Basic Course" Study notes--two Day

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.