【7B2主题美化】给导航菜单添加彩色渐变的文字优知新2年前发布关注私信0780 效果图 以下代码放到你的菜单 <span class="meihua">你的菜单名称</span> 以下代码放入css样式 .meihua { background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 33.3%, rgba(252, 176, 69, 1) 66.6%, rgba(131, 58, 180, 1) 100%); -webkit-background-clip: text; color: transparent !important; background-size: 300% 100%; animation: text 4s infinite linear } @media (max-width:768px) { span.ua-info { display: none } .comment-author .user-title { width: 40% !important } } .comment-author .user-title { font-size: 13px; background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 33.3%, rgba(252, 176, 69, 1) 66.6%, rgba(131, 58, 180, 1) 100%); -webkit-background-clip: text; color: transparent !important; background-size: 300% 100%; animation: text 4s infinite linear } @keyframes text { 0% { background-position: 0 0 } 100% { background-position: -150% 0 } } .b2-qr-code-fill { background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 33.3%, rgba(252, 176, 69, 1) 66.6%, rgba(131, 58, 180, 1) 100%); -webkit-background-clip: text; color: transparent !important; background-size: 300% 100%; animation: text 4s infinite linear } 温馨提示:本文最后更新于2023-11-10 20:26:47,某些文章具有时效性,若有错误或已失效,请私信客服或联系知新社长。 © 版权声明文章版权归作者所有,未经允许请勿转载。 十一 10 知岛上的今时往日 "吼吼~,往年的今天,作者不知道跑哪里偷懒去了~" THE END柒比贰主题教程之家网站/配置/代码# 美化教程# 导航菜单彩色文字 喜欢就支持一下吧点赞0赞赏 分享QQ空间微博QQ好友海报分享复制链接收藏1