我正在尝试在进度条内添加面板,但是当我添加面板时,进度条不起作用/增加宽度。
http://getbootstrap.com/components/#progress http://getbootstrap.com/components/#panels
这是我尝试过的:
<div class="progress progress-striped active" style="height:100px;border-style:solid;"> <div class="panel panel-primary" style="width:15%;height:100px;"> <div class="panel-heading"> <h3 class="panel-title" style="text-align:center;">Division 10</h3> </div> <strong><div align="center">0 PTS</div></strong> </div> <div class="progress-bar progress-bar-danger" style="width: 50%"></div> </div>
最佳答案
也许你想要这样的东西http://jsfiddle.net/fS2zq/1/
<div class="panel panel-primary" style="width:15%;height:100px;float:left">
关于html - Bootstrap 进度条不适用于 Panel Inside,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18106901/