前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >给Cuteen主题安排上侧栏标签云

给Cuteen主题安排上侧栏标签云

作者头像
小何.
发布2023-03-11 10:40:06
3870
发布2023-03-11 10:40:06
举报

每次刷新颜色都会改变,目前有8组颜色,具体效果看我的侧边栏 废话不多说,直接教程

一、引入CSS
代码语言:javascript
复制
/*侧栏标签云*/
.flink-item{padding-top:0px;padding-bottom:2px;padding-left:6px;padding-right:6px;position:relative;margin:3px;background-color:#32ccbc;border-radius:2px;float:left}
.flink-title a{font-size:10px;color:#ffffff;word-break:break-all;text-decoration:none;outline:0}
.flink-title a:hover{ color:#f2f2f2;}
.bg-1{background-color:#b57dff!important}
.bg-2{background-color:#465efb!important}
.bg-3{background-color:#f9bb3c!important}
.bg-4{background-color:#f55555!important}
.bg-5{background-color:#f6969a!important}
.bg-6{background-color:#e92b6f!important}
.bg-7{background-color:#8c76f!important}
.bg-8{background-color:#3fa5ff!important}
二、通过函数调用标签

路径 /Cuteen/include/sidebar.php 合适位置加入下方代码

tg
tg
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2023年03月10日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、引入CSS
  • 二、通过函数调用标签
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档