css3 动画 专场曲线

<!DOCTYPE html>
<html>
<head>
<title>转场曲线</title>
<style type="text/css">
.content div{
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{
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>

原文地址:https://www.cnblogs.com/adialike/p/6389041.html