首页 > Web开发 > 详细

css3 动画 专场曲线

时间:2017-02-11 13:40:12      阅读:238      评论:0      收藏:0      [点我收藏+]

<!DOCTYPE html>
<html>
<head>
<title>转场曲线</title>
<style type="text/css">
.content div{
width: 100px;
height: 30px;
margin-top: 30px;
background-color: blue;

}
.content>div:nth-child(1){
transition: all 5s ease;
}
.content>div:nth-child(2){
transition: all 5s linear;
}
.content>div:nth-child(3){
transition: all 5s ease-in;
}
.content>div:nth-child(4){
transition: all 5s ease-out;
}
.content>div:nth-child(5){
transition: all 5s ease-in-out;
}
.content:hover div{
width: 800px;
}
</style>
</head>
<body>
<div class="content">
<div>ease</div>
<div>linear</div>
<div>ease-in</div>
<div>ease-out</div>
<div>ease-in-out</div>
</div>
</body>
</html>

css3 动画 专场曲线

原文:http://www.cnblogs.com/adialike/p/6389041.html

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