CSS3 Animated Property Series transform fine spin rotate

Source: Internet
Author: User

1. Syntax:

Transform:none | <transform-function> [<transform-function>]*

2. Value:

    • None----not be changed
    • <transform-function>----One or more transform functions, separated by spaces
can be used for inline elements and block-level elements that can be rotated, scaled, moved, and so on. Specific as follows:
    • Rotate---rotation
Java code
  1. /*
  2. Rotate (<angle>)
  3. Assigns a 2D rotation to an element by the specified angle
  4. Need to have a definition of the Transform-origin attribute first
  5. Transform-origin is the base point of rotation
  6. Angle is the angle of rotation, positive value indicates clockwise, negative value is counterclockwise
  7. Deg is the meaning of degrees, such as 60deg means 60 degrees
  8. */
  9. #test {
  10. Transform:rotate (60DEG); //W3C Standard
  11. -webkit-transform:rotate (60DEG); //webkit kernel for safari and chrome
  12. -moz-transform:rotate (60DEG); //ff
  13. -o-transform:rotate (60DEG); //opera
  14. -ms-transform:rotate (60DEG); //IE9
  15. }

CSS3 Animated Property Series transform fine spin rotate

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.