CSS Animation transform transition animation

Source: Internet
Author: User

1.transform

Transform is a technique for changing the appearance of a Web page by moving its elements in a browser, such as rotating transparent blur.

-webkit-transform:translate (3em,0); To move the 3em right, move the 0em down

-webkit-transform:rotate (30deg), clockwise 30 degrees

-webkit-transform:translate ( -3em,1em), move 3em to the left, move down 1em

-webkit-transform:scale (2), size magnification twice times

2.transition

Tansition allows the page to move.

 -webkit-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out; -o-transition: all 2s ease-in-out; transition: all 2s ease-in-out;


3.animation
    -webkit-transition: all 2s ease-in-out;    -moz-transition: all 2s ease-in-out;    -o-transition: all 2s ease-in-out;    transition: all 2s ease-in-out;
Animation
 

CSS Animation transform transition animation

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.