How To Specify (Override) JQuery Icon Color

后端 未结 6 630
無奈伤痛
無奈伤痛 2020-12-12 19:37

I\'ve been making good use of the jQuery icons in my web app, but have come to a point where I would like to use a color that I\'m not able to achieve by default. I\'m curre

6条回答
  •  鱼传尺愫
    2020-12-12 20:11

    Use built-in icon generator for icon color #00a300 # dark green

    .ui-icon
    {
        background-image: url(http://jqueryui.com/themeroller/images/?new=00a300&w=256&h=240&f=png&fltr[]=rcd|256&fltr[]=mask|icons/icons.png) !important;
    }
    

提交回复
热议问题