CSS3 Practical Guide First reading notes

Source: Internet
Author: User

1.7.1 Browser Prefix

When a browser implements a new property, value, or selector, and this feature is not in the candidate Recommendation Standard state, a prefix is added to the property before it is identified by its rendering engine.

Browser prefix for CSS properties:

The prefix rendering engine uses the browser of the engine

    • -khtml-khtml Konqueror
    • -ms-trident Internet
    • -moz-mozilla Firefox, Camino, Flock
    • -o-presto Opera, opera Mobile, opera Mini, Nintendo Wii
    • -webkit-webkit Safari, Safari on IOS, Chrome, Android

When using the browser prefix attribute, you should always include an attribute with no prefix and put it at the end. This ensures that the current browser can support an attribute that is not prefixed, and that this property will take effect. The prefix attribute is the correct behavior because the position is overloaded by the previous pre-prefixed property.

Using MODERNIZR to detect CSS3 support

Simulating CSS3 with JavaScript

CSS3 Practical Guide First reading notes

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.