Ionic framework 更改颜色单个选项卡
如何在ionic中更改单个选项卡的背景色 我试图在选项卡中添加一个类或id,但没有成功 我用的是离子1Ionic framework 更改颜色单个选项卡,ionic-framework,Ionic Framework,如何在ionic中更改单个选项卡的背景色 我试图在选项卡中添加一个类或id,但没有成功 我用的是离子1 .tab-item { background-color: $energized; opacity: 1; } .tab-item+ .tab-item { background-color: $balanced; } .tab-item+ .tab-item+ .tab-item { background-color: $calm; } .tab-item+ .tab-
.tab-item {
background-color: $energized;
opacity: 1;
}
.tab-item+ .tab-item {
background-color: $balanced;
}
.tab-item+ .tab-item+ .tab-item {
background-color: $calm;
}
.tab-item+ .tab-item+ .tab-item+ .tab-item {
background-color: $positive;
}