最新下载
24小时阅读排行榜
- 1 ChatExcel进行文本转数字_ChatExcel文本数值转换与格式化
- 2 在css中animation-delay延迟使用
- 3 css制作模态弹窗样式技巧
- 4 如何在Golang中使用VS Code远程开发
- 5 瑞达写作官网登录端点 瑞达写作App官方最新下载点
- 6 JavaScript函数式编程范式与实用技巧
- 7 win11怎么解决应用商店错误代码0x80072f30_Win11应用商店0x80072f30错误修复方法
- 8 win11玩英雄联盟fps低怎么办 win11玩LOL低帧率优化方法
- 9 华为MateView 32对决戴尔U3223QE:专业级显示器的色彩与护眼之战,为谁的眼睛买单更值?
- 10 c++中智能指针shared_ptr和unique_ptr的使用场景 _c++智能指针应用场景与管理技巧
- 11 在css中如何避免margin塌陷问题
- 12 composer如何处理 require-dev 依赖在生产环境安装的问题
- 13 京东双十一满减活动怎么参与 京东跨店满减计算方式讲解
- 14 XML特殊字符如何处理
- 15 c++怎么安全地关闭一个正在运行的线程_c++线程终止与资源安全回收方法
最新教程
-
- Node.js 教程
- 6048 2025-08-28
-
- CSS3 教程
- 892337 2025-08-27
-
- Rust 教程
- 9758 2025-08-27
-
- Vue 教程
- 11888 2025-08-22
-
- PostgreSQL 教程
- 9161 2025-08-21
-
- Git 教程
- 4772 2025-08-21
代码片段:
<style type="text/css">
.menu-list{list-style:none; width:300px; margin: 100px auto;}
.menu-list li{display:block;}
.list{list-style: none; margin-left: -50px; width:300px; height:60px; overflow:hidden; }
.list li{width: 300px;height: 60px; position: relative; animation: myfirst 4s infinite ;line-height: 60px;text-align: center; font-size: 30px;color:#fff;}
@keyframes myfirst
{
0% {background-color:#4ec7f3; top:0px;}
25% {background-color:#4ec7f3; top:0px;}
50% {background:#42c58a; top:-60px;}
75% {background:#a0a0a0; top:-120px;}
100% {background:#dc143c; top:-180px;}
}
.font30{
font-size: 30px;
color: #7d7d7d;
}
</style>


