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