css--Reading notes

Source: Internet
Author: User
Tags transparent color

Master CSS Advanced Web Standard Solution (2nd edition)

Directory:

    1. Basic knowledge (structure of design code)
    2. Find application targets for styles (selector and stylesheet maintenance)
    3. Visual format model (box model and positioning)
    4. Background image effects (backgrounds, borders, and images)
    5. Apply a style to a link (link)
    6. Apply a style to a list and create a navigation bar (list style and navigation menu)
    7. Apply styles to forms and data tables (forms and data tables)
    8. Layouts (for various layouts such as floating)
    9. Bugs and bug fixes (bug targeting and workarounds)
    10. Case study--roma Italia
    11. Case study--climb the mountains

Chapter One: Basic knowledge

1. Structure of the design code

CSS controls the appearance of the page and separates the document from the content, simplifying the label.

ID is used to represent specific elements on a page, such as site navigation, and must be unique.

The class name can be used for any number of elements on the page.

"The elements are named according to what they are, not what they look like." Class name &ID-> full lowercase plus hyphen

Div can split a document into several meaningful areas. Div can be used to group block-level elements, and span can be used to group or identify inline elements.

"Micro format: based on the existing data formats such as vcard, icalendar, etc.

There are currently 9 formal micro-formats, as well as 14 draft formats:

    • Hcalendar for date, calendar, and time
    • Hcard for people and organizations
    • XFN for the relationship between people
    • Hproduct (draft) for product description
    • Hrecipe for raw materials and cooking steps (draft)
    • Hreview (draft) for product and event review
    • Hatom (draft) for fragment-like content such as blog posts

"CSS version:

1996--css1

1998--css2

In general, CSS3 mainly has the following new highlights:

Advanced selector, rounded, multi-background, @font-face animations with gradients, gradient, Box shadows, RGBa-add transparent color, text shadow, graphical border.

"Validation: Http://validator.w3.org/bookmarket (favelet) Firefox plugin

css--Reading notes

Related Article

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.