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;
}
精彩评论