CSS Style design basics

Source: Internet
Author: User

First, well-designed web page structure

  

Second, the first knowledge of CSS

  

Third, selector

1. Tag Selector El

2. ID selector #id

3, class selector. classname

4. Special Selector

      • Child Selector
        • div > Span child elements
      • Include selector
        • Div span descendant elements
      • Adjacent selectors:
        • div + span neighbor and matching sibling
      • Group Selector
        • Div, span
      • Specifying selectors
        • No spaces between Div#id objects
      • Universal Selector
        • *{}
      • Property Selector
      • Pseudo Selector

Iv. Basic Features

  

Five, style sheet definition

  

Vi. attributes and attribute values

    • Common Properties

    

    • Abbreviation:

      

    • Units and colors:

    

CSS Style design basics

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.