0
我正在使用Bootstrap折叠来实现可折叠面板,如fiddle所示我想知道是否可以在打开另一个面板的同时打开一个面板并将面板只在点击自己面板的箭头时关闭。Bootstrap可折叠面板不能在另一个面板开口上折叠
我已经把代码的CSS部分。
.panel-heading .accordion-toggle:after {
/* symbol for "opening" panels */
font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
content: "\e114"; /* adjust as needed, taken from bootstrap.css */
float: right; /* adjust as needed */
color: grey; /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
/* symbol for "collapsed" panels */
content: "\e080"; /* adjust as needed, taken from bootstrap.css */
}