css3 动画 专场曲线

<!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>

posted @ 2017-02-11 13:18  AdiaLike  阅读(524)  评论(0编辑  收藏  举报