网页动画效果
<html >
<head lang="UTF-8">
<title></title>
<style type="text/css">
@keyframes myfirst{
0%{background-color: #f9f9f9;left: 0px;top:0px}
50%{background-color: royalblue;left:200px;top:0px}
60%{background-color: green;left: 200px;top:200px}
100%{background-color: green;left: 0px;top:0px}
}
div{
height: 20px;
width: 20px;
position: relative;
animation: myfirst 10s infinite;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
<head lang="UTF-8">
<title></title>
<style type="text/css">
@keyframes myfirst{
0%{background-color: #f9f9f9;left: 0px;top:0px}
50%{background-color: royalblue;left:200px;top:0px}
60%{background-color: green;left: 200px;top:200px}
100%{background-color: green;left: 0px;top:0px}
}
div{
height: 20px;
width: 20px;
position: relative;
animation: myfirst 10s infinite;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
下一篇:《我们在旅途中》
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章热度:★☆☆☆☆
文章难度:☆☆☆☆☆
文章质量:☆☆☆☆☆
说明:系统根据文章的热度、难度、质量自动认证,已认证的文章将参与打字排名!
本文打字排名TOP20
- 1游客07180722... 03-16 20:29201 KPM
- 2glory 04-02 18:36126 KPM
- 3vvb 07-07 19:54122 KPM
- 4游客14046791... 10-26 21:21114 KPM
- 5上了贼船就跟... 07-07 20:23104 KPM
- 6游客20675506... 01-29 14:3897 KPM
- 7游客13745888... 07-07 18:3185 KPM
- 8聒噪 07-06 22:1183 KPM
- 9游客15091597... 06-09 18:5382 KPM
- 10游客17134438... 04-10 13:4777 KPM
- 11游客13761723... 07-07 20:2876 KPM
- 12竹忆道姑(易... 07-07 06:2274 KPM
- 13游客13607538... 07-07 19:1074 KPM
- 14游客13716873... 07-07 14:1572 KPM
- 15Mischa 07-07 12:3171 KPM
- 16晓楠 07-07 16:1370 KPM
- 17游客13751581... 07-07 17:2863 KPM
- 18游客13758687... 07-07 14:3154 KPM
- 19游客13411507... 07-06 23:0943 KPM
- 20游客13750916... 07-07 16:0638 KPM