您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

css实现div背景色闪烁效果

2024/3/19 0:22:59发布24次查看
我们先来看下效果图:
(视频教程推荐:css视频教程)
代码实现:
<!doctype html><html><head><style>@keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.0; } to { opacity: 1.0; }}.headerbox {width:100px; background: #ff0; padding: 10px; font-size: 15px; height: 100px; animation: fade 600ms infinite;}</style></head><body><div>&nbsp;</div></body></html>
推荐教程:css教程
以上就是css实现div背景色闪烁效果的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product