开发者

How to change the active state default color "blue"

开发者 https://www.devze.com 2023-03-12 09:18 出处:网络
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 linkTry adding it as the last rule, with the !impo

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

精彩评论

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