最新下载
jQuery自动填充表单功能代码
Vue记事本添加删除特效
24小时阅读排行榜
- 1 Golang Web接口返回慢如何排查_Golang接口性能分析方法
- 2 Postman如何测试XML上传接口 Postman发送form-data和raw XML
- 3 mysql安装完成后如何配置事件调度器_mysql任务管理配置
- 4 Three.js/Babylon.js如何加载上传的X3D/Collada格式XML
- 5 什么是mysql锁_mysql锁基础概念说明
- 6 c# 如何写日志 log4net
- 7 php动态网站开发怎样防止重复提交_PHP动态网站防重复提交法【方案】
- 8 css定位与布局的结合_使用position与display优化布局
- 9 C++构造函数怎么写 C++初始化列表与赋值的区别【细节】
- 10 如何为 HTML 表格添加棋盘式坐标标签(A–H / 1–8)
- 11 Go 中为何不推荐使用 this 作为方法接收者名称
- 12 XPath:匹配 class 属性值不包含指定子字符串的元素
- 13 Go 中方法接收者命名规范:为何不推荐使用 this
- 14 Go 中方法接收者命名规范:为何不应使用 this 关键字
- 15 如何在 PrimeVue 中将对象数据正确渲染为 Dropdown 下拉选项
最新教程
-
- Node.js 教程
- 16303 2025-08-28
-
- CSS3 教程
- 1546987 2025-08-27
-
- Rust 教程
- 23426 2025-08-27
-
- Vue 教程
- 25868 2025-08-22
-
- PostgreSQL 教程
- 22367 2025-08-21
-
- Git 教程
- 9318 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>
