[英]Bootstrap Accordion, set the style for the active head panel
I want to set a style to the active position 'panel heading' as this: 我想将样式设置为活动位置'panel heading',如下所示:
I want to add the background color and font-weight for the active panel... and that icon stood in the down position... What i have (my code) : http://www.bootply.com/wZrFTAIRfe
我想为活动面板添加背景颜色和字体重量......并且该图标位于向下位置......我有什么(我的代码):
http://www.bootply.com/wZrFTAIRfe
: http://www.bootply.com/wZrFTAIRfe
PS sorry for my english.. 对不起我的英文..
Try this: 尝试这个:
.panel-default>.panel-heading[aria-expanded="true"] {
font-weight: bold;
background-color: #99ccff;
background-image: url(http://storage4.static.itmages.ru/i/16/0724/h_1469363621_2952426_312a0c7b35.png);
}
add this to css 将此添加到css
[aria-expanded="true"] .panel-title
{
background-color: blue;
font-weight: 600;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.