deform attribute Transform

Source: Internet
Author: User

Transform function can realize the rotation, bloom, tilt, and movement of text or image;

Note: 1, its movement, rotation, tilt, and bloom the use of the 4 effects of different order, the page will show different results;

2, the attribute value has one parameter and has multiple parameters;

3, in the movement of the effect of attention to its direction of movement (it is easy to look at the effect, do not know to move to that);

Property values for Tansform:

At 2D:

1, translate (x, y): There are two parameters, the first parameter represents the horizontal direction of movement, the second parameter represents the vertical direction of movement, note--- when only one parameter is written to move only in the horizontal direction, the vertical direction does not move; Notation Translate (50px,60px) or translate (1000px);

2, Ratate (x): The parameter is expressed in degrees, the unit is expressed in degrees, the notation is ratate (45deg), the rotation direction is clockwise rotation;

3, Skew ()

deform attribute Transform

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.