我正在使用jQuery UI的标签部件。我想在API文档定制jQuery UI标签
提到here但是,尽管这样做以下的主动标签的color
使用ui-tabs-active
类更改为yellow
:
<style type="text/css">
.ui-tabs-active
{
background-color:yellow;
}
</style>
它的颜色没有变化。 这里是jsbin.com
我正在使用jQuery UI的标签部件。我想在API文档定制jQuery UI标签
提到here但是,尽管这样做以下的主动标签的color
使用ui-tabs-active
类更改为yellow
:
<style type="text/css">
.ui-tabs-active
{
background-color:yellow;
}
</style>
它的颜色没有变化。 这里是jsbin.com
你需要一点点更直接的与你的CSS。另外你需要删除驻留有
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
background-image: none;
background-color:green;
}
代码与尝试:
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active
{
background: green;
}
改变颜色,在UI CSS文件的默认图像
打开CSS文件搜索有关
.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px;}
变化
.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px; background-color:yellow;}