首页 > Web开发 > 详细

CSS Transition

时间:2017-08-24 23:48:16      阅读:276      评论:0      收藏:0      [点我收藏+]

CSS Transition

  CSS transitions provide a way to control animation speed when changing CSS properties. Instead of having property changes take effect immediately, you can cause the changes in a property to take place over a period of time.

div
{
    width:100px;
    transition: width 2s;
}

 

transition: property duration timing-function delay;

 

参考:

1、https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions

CSS Transition

原文:http://www.cnblogs.com/tekkaman/p/7425596.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!