1

我有一个像这样的导航栏:

http://jquerymobile.com/demos/1.1.0-rc.1/docs/forms/slider/#/demos/1.1.0-rc.1/docs/toolbars/docs-navbar.html

但我不想要蓝色背景作为选择。(当我点击一个按钮时)

我只想执行动作而不是填充背景蓝色。

4

1 回答 1

1

这是一个工作示例:http: //jsfiddle.net/Gajotres/Y9pXL/

.ui-focus, .ui-btn:focus {
    -moz-box-shadow:0 0 0 transparent !important;
    -webkit-box-shadow:0 0 0 transparent !important;
    box-shadow:0 0 0 transparent !important;
}

.ui-btn-active {
    border-width: 0px !important;
    background:transparent !important;
    background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(transparent))!important;
    background-image:-webkit-linear-gradient(transparent,transparent)!important;
    background-image:-moz-linear-gradient(transparent,transparent)!important;
    background-image:-ms-linear-gradient(transparent,transparent)!important;
    background-image:-o-linear-gradient(transparent,transparent)!important;
    background-image:linear-gradient(transparent,transparent)!important;
}
于 2013-03-18T14:22:19.100 回答