CSS3 transition/transform

Source: Internet
Author: User

Transition 1. Short attribute transition, which can contain four attributes. The four attributes are written in the order described below, namely, transition: property duration timing-function delay. 2. transition-property indicates the property value, such as width and height. the duration of the transition-duration transition effect. The default value is 0 4. transition-timing-function specifies the time curve of the transition effect. There are many forms. Linear specifies the transition effect starting at the same speed to the end (equal to cubic-bezr )). Explain specifies the transition effect (cubic-betiller (0.25, 0.1, 0.25, 1) that starts slowly and then becomes faster )). Transition-in specifies the transition effect starting at a slow speed (equal to cubic-bezr (0.42, 1 )). Transition-out specifies the transition effect that ends at a slow speed (equal to cubic-bezr (0.58, 1 )). Transition-in-out specifies the transition effect that starts and ends at a slow speed (equivalent to cubic-bezr (0.42, 0, 0.58, 1 )). Cubic-bezr (n, n) defines their own values in the cubic-bezr function. The possible value is a value between 0 and 1. The above five forms of overuse are based on the besell curve (5 Special Cases). For details, see http://cubic-bezier.com/#.17,.67,.83,.67 5. How long does the transition-delay effect delay start. Instance 1 ps: When transition is used on an element, the hover style needs to be specified, so the value of the hover will be excessive. Second, the border color of the element size changes gradually; when the mouse leaves the element, the opposite transition effect is triggered. Copy code 1

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.