开发者

How to change the active state default color "blue"

I was trying to change the .active state's default color. Tried changing in the .ui开发者_JAVA技巧-btn-active. Didn't work. Any ideas?? Here is the link


Try adding it as the last rule, with the !important clause:

.ui-btn-active { color: red !important; background: none !important; background-color: green !important;  }

Worked fine here on your jsFiddle.


This worked with your jsFiddle example:

.ui-header .ui-navbar li a:active {
    color: #FFFFFF;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜