CSS3 Transition Transition Foundation Demo

Source: Internet
Author: User

Excessive code

<! DOCTYPE html>"en">"Viewport"Content="Initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height"> <meta charset="UTF-8"> <meta name="Author"Content="Haley"> <meta name="Keywords"Content=""> <meta name="Description"Content=""> &LT;TITLE&GT;CSS3 Transition transition</title> <style>Div.ra {width:100px;            height:100px;            Background: #00AEEF;            Transition:all 2s; -moz-transition:all 2s;/*Firefox 4*/-webkit-transition:all 2s;/*Safari and Chrome*/-o-transition:all 2s;/*Opera*/} div.ra:hover {height:200px; -webkit-transform:rotate (180deg);/*Chrome, Safari, Opera*/transform:rotate (180deg);            width:300px;            Background: #0000ff;        Color: #fff; } Table{border-collapse:collapse;border-spacing:0; } table td,table th{border:1px solid #333; Text-align:center; Vertical-align:middle;            height:30px; line-height:30px;; }    </style>class="RA">div content </div><div> <ul> <li>transition properties can be size, color, animation </li> <li> Time Curve transition-timing-function:<table> <thead> <tr><th> Values </th><th> description &LT;/TH&GT;&LT;/TR&G                T </thead> <tbody> <tr><td>linear</td><td> Provision of transition effects starting at the same speed to the end Fruit (equals Cubic-bezier (0,0,1,1))。 </td></tr> <tr><td>ease</td><td> Specify slow start, then fast, then slow end transition effect (cubic-bezier (0.25,0.1,0.25,1))。 </td></tr> <tr><td>ease-inch</td><td> Specifies a transition effect that starts at a slow speed (equal to Cubic-bezier (0.42,0,1,1))。 </td></tr> <tr><td>ease- out</td><td> Specifies the transition effect at a slow end (equal to Cubic-bezier (0,0,0.58,1))。 </td></tr> <tr><td>ease-inch- out</td><td> Specifies a transition effect that starts and ends at a slow speed (equal to Cubic-bezier (0.42,0,0.58,1))。 </td></tr> <tr><td>cubic-bezier (n,n,n,n) </td><td> Define yourself in the Cubic-bezier function The Value. The possible values are0To1Between the Values. </td></tr> </tbody> </table> </li> <li><a H ref="http://www.runoob.com/cssref/css3-pr-transition-timing-function.html"> More Information </a></li> </ul></div></body>

CSS3 Transition Transition Foundation Demo

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.