On the transition and animation method of CSS3 conversion 2d,3d

Source: Internet
Author: User

Summarize:

Observer distance Perspective: Specify distances, must have pixel units px
[Observer Perspective Perspective-origin: normal Default center]


Conversion Transform contains:rotate, translate,scale,matrix,perspective

Child element 3D effect transform-style : preserve-3d | Flat

[Object Transform-origin is typically centered by default]

[Element back backface-visibility: Generally visible by default]


element Rotation Direction rotate:x-axis left hand rule y-axis right-hand rule

Transitions transition contains : Property duration ease delay



Animation:

1. Create a rule:

@keyframes rule name x {

From: {...}

20%: {...}

50%: {...}

75%: {...}

To: {...}

}

2. Rules of Use:

div{

Animation: rule name x Duration Ease delay infinite reverse;

}



This article from the "front-end Development Study Notes" blog, declined reprint!

On the transition and animation method of CSS3 conversion 2d,3d

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.