CSS3 commonly used styles plus prefix collation

Source: Internet
Author: User

1:2D, 3d conversion needs to add a prefix transform;

2d

    • Translate ()
    • Rotate ()
    • Scale ()
    • Skew ()
    • Matrix ();

3d:

    • Rotatex ()
    • Rotatey ()

2d:

Internet Explorer 10, Firefox, and Opera support the Transform property.

Chrome and Safari need a prefix of -webkit-.

Note: Internet Explorer 9 requires a prefix of -ms-.

3d:

Internet Explorer 10 and Firefox support 3D conversions.

Chrome and Safari need a prefix of -webkit-.

Opera still does not support 3D conversion (it only supports 2D conversions).

2:transition transition

 

Internet Explorer 10, Firefox, Chrome, and Opera support transition properties.

Safari requires a prefix of-webkit-.

Note: Internet Explorer 9 and earlier versions do not support the transition property.

Note: Chrome 25 and earlier versions require a prefix of-webkit-.

3: Animation

Internet Explorer 10, Firefox, and Opera support @keyframes rules and animation properties.

Chrome and Safari need a prefix of -webkit-.

Note: Internet Explorer 9, and earlier versions, do not support @keyframe rules or animation properties.

4: Multi-column
    • Column-count
    • Column-gap
    • Column-rule
/* Safari and Chrome */column-count:3;

Internet Explorer 10 and Opera support multi-column properties.

Firefox needs a prefix-moz-.

Chrome and Safari need a prefix of-webkit-.

Note: Multi-column properties are not supported in Internet Explorer 9 and earlier versions.

 

CSS3 commonly used styles plus prefix collation

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.