HTML5+CSS3 NEW CONTENT Summary!!!!! Absolute Dry Goods

Source: Internet
Author: User

Speaking of H5C3 will feel a lot of things ah, today to tidy up a summary of the content;


What are the CSS3 selectors?
A: Property selector, Pseudo-class selector, pseudo-element selector.
What are the new features of CSS3?
Answer: 1. Color: New Rgba,hsla mode

    1. text Shadow (Text-shadow,)
    2. border: Fillet (Border-radius) Border Shadow: Box-shadow
    3. Box model: box-sizing
    4. li> background: background-size Setting the size of the background picture Background-origin setting the origin of the background picture Background-clip setting the crop area of the background picture, separated by "," can set multiple backgrounds for adaptive layout
    5. gradient: linear-gradient, radial-gradient
    6. Transitions: Transition, enabling animations
    7. Custom Animation
    8. The only pseudo-elements that the
    9. introduces in CSS3 are: Selection.
    10. Media query, multi-column layout
    11. Border-image
    12. 2D Conversions: transform:translate (x, y) rotate (x, y) skew (x, y) scale (x, y)

    13. css3 what are the new pseudo-classes?

P:first-of-type selects each <p> element that belongs to the first <p> element of its parent element.
P:last-of-type selects each <p> element that belongs to the last <p> element of its parent element.
P:only-of-type selects each <p> element that belongs to the <p> element that is unique to its parent element.
P:only-child selects each <p> element that belongs to the unique child element of its parent element. P:nth-child (2) Select each <p> element that belongs to the second child element of its parent element. : Enabled,:d isabled controls the disabled state of the form control.
: Checked, the Radio box or check box is selected. What are the new features and elements removed from HTML5? How do I handle browser compatibility issues with HTML5 new tags? (Web front-end Learning Exchange Group: 328058344 prohibit small talk, non-happy do not enter!) )

How do I differentiate between HTML and HTML5?
New features:

    1. Drag release (Drag and Drop) API
    2. Semantically better content tags (header,nav,footer,aside,article,section)
    3. Audio, Video API (Audio,video)
    4. Canvas API
    5. Geography (geolocation) API
    6. Local offline storage Localstorage long-term storage data, the browser is closed after the data is not lost;
    7. Sessionstorage data is automatically deleted after the browser is closed
    8. form controls, calendar, date, time, email, url, search
    9. New technology Webworker, WebSocket, geolocation support HTML5 new Tags:

IE8/IE7/IE6 supports the label generated by the Document.createelement method, which allows these browsers to support HTML5 new tags and, after the browser supports new tags, add the default style of the tag:

Of course the best way is to use the mature framework directly, the most used is the Html5shim framework of the above content is self-summary if there is a mistake to welcome correct

HTML5+CSS3 NEW CONTENT Summary!!!!! Absolute Dry Goods

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.