当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <!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 > </ div >
</ body >
</ html >
|
推荐教程:CSS教程
以上就是css实现div背景色闪烁效果的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
html里padding是什么意思
聊聊css中box-align和box-pack属性的用法
css ul怎么去掉点
css中怎么进行注释
css不生效是什么原因
两分钟带你了解在css中三种使图片居中的方法
css如何指定样式表使用的字符编码
css中width有啥属性?
css中px、em、rem的区别是什么?
怎么给css文件改名
更多相关阅读请进入《css》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » css实现div背景色闪烁效果