jQuery UI选项卡的背景色 [英] JQuery UI Tabs Background Color

查看:97
本文介绍了jQuery UI选项卡的背景色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改选项卡区域的背景.例如,您有一个选项卡列表,并且我知道如何更改每个单独的选项卡的颜色,但是我想知道是否可以更改选项卡区域的颜色.所有这些的背景.通常,它是深灰色,而选项卡是浅灰色.我想将这些颜色更改为浅蓝色或浅绿色,并且我尝试更改与UI选项卡相关的所有内容的CSS,但它们均无效.

I'm trying to change the background of the tab area.. like, You have a list of tabs, and I know how to change the color of each individual tab, but I was wondering if you could change the color of the background of all of that. Normally it's the dark gray color, and the tabs are the light gray. I was wanted to change those colors to maybe either a light blue, or light green, and I've tried changing the CSS of everything I could find relating to the UI Tabs, and none of them worked.

推荐答案

您要更改.ui-tabs .ui-tabs-nav.

CSS:

.ui-tabs .ui-tabs-nav
{
background: lightblue;
}

.ui-tabs .ui-tabs-panel /* just in case you want to change the panel */
{
background: blue;
}

这篇关于jQuery UI选项卡的背景色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆