【发布时间】:2018-06-18 20:57:39
【问题描述】:
我正在尝试将自定义样式添加到 ngx-bootstrap 的选项卡中以获取角度。 我想要两件事 1)去除边界线和 2) 为活动选项卡设置背景色。
但似乎没有任何效果
HTML 代码
div >
<tabset>
<tab customClass="customClass" heading="Home"></tab>
<tab heading="Profile"></tab>
<tab heading="About us"></tab>
</tabset>
</div>
CSS 代码
.customClass > a{
background-color:silver !important;
border-bottom: none !important;
outline: 0 !important;
}
tab>active{
color:rgb(58, 45, 128)
}
有什么解决办法???
【问题讨论】:
-
我的回答有帮助吗?
-
非常抱歉,但没有帮助
-
你能在 stackblitz 上重现你的问题吗?
标签: angular twitter-bootstrap-3 bootstrap-4 ngx-bootstrap