在侧边增强小工具中添加一个多彩的菜单

admin
admin
管理员
532
文章
0
粉丝
综合评论82字数 217阅读0分43秒阅读模式

先将增强文本小工具拖进侧边栏中,然后将下面的粘贴进去

<div class="colorbar-box">
<ul class="colorbar">
<li><a href="链接地址" target="_blank" style="background-color:#ff3030;">我是文字</a></li>
<li><a href="链接地址" target="_blank" style="background-color:#428BCA;">我是文字</a></li>
<li><a href="链接地址" target="_blank" style="background-color:#e84266;">我是文字</a></li>
<li><a href="链接地址" target="_blank" style="background-color:#91c24f;">我是文字</a></li>
<li><a href="链接地址" target="_blank" style="background-color:#f49800;">我是文字</a></li>
</ul>
</div>
<style type="text/css">
.colorbar-box ul {
padding: 0;
}
.colorbar li {
width: 100% !important;
}
.colorbar li a {
color: #fff;
line-height: 40px;
display: block;
width: 100%;
text-align: center;
}
.colorbar li a:hover {
opacity: 0.8;
}
</style>

自行修改其中的文字及链接。文章源自小武站1z345.cn小武站-https://50-0.cn/876.html 文章源自小武站1z345.cn小武站-https://50-0.cn/876.html

  • 本文由 admin 发表于2024年8月18日 09:03:04
  • 转载请务必保留本文链接:https://50-0.cn/876.html
匿名

发表评论

匿名网友
确定