置顶图标修改方法
xiunoa 2020-8-23



在view/htm/header.inc.htm <head></head>中添加下面的样式即可

<style>    /*置顶样式*/
    .icon-top-1, .icon-top-2, .icon-top-3 {
        color: #fff;
        font-size: .875rem;
        font-style: normal;
        padding: .125rem .25rem;
        border-radius: .25rem;
        vertical-align: text-bottom;
        font-family: Helvetica,Arial,PingFang SC,Noto Sans,Roboto,Microsoft Yahei,sans-serif;
        -webkit-font-smoothing: auto;
    }
    [class^="icon-top-"]:before {
        /*content: "\f024";*/
        content: "置顶";
    }
    .icon-top-1 {
        background: #ff8800;
    }
    .icon-top-2 {
        color: #ff8800;
    }
    .icon-top-3 {
        /*background: #da24a7;*/
        /*background: #f30c74;*/
        /*background: #EE1B2E;*/
        background: #EE5023;
    }</syle>


最新回复 (8)
全部楼主
  • tashuoi
    2020-9-18 2
    1
    他会和那个小旗帜重复
  • 天空丶
    2020-10-8 3
    0
    赚点积分
  • xxlxxl
    2021-3-12 4
    0
    前端样式会乱
  • fuliti
    2021-4-28 5
    0
    置顶变色要怎么弄?
  • 伊尹
    2021-12-2 6
    0
    哈哈,不错哦!
  • MeHuYun
    2021-12-6 7
    0
    感谢楼主ing!!!
  • Mrlin
    2022-3-8 8
    0
    顶顶顶顶顶顶顶!!!
  • 嫂子别这样
    2023-1-5 9
    0
    感谢楼主ing!!!
返回