【发布时间】:2016-08-13 15:51:19
【问题描述】:
我正在使用 BootstrapCSS 3 来制作地图应用程序。我创建了一个面板如下:
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" href="#legendpane">
<i class="fa fa-tasks"></i>
Legend
</a>
</h4>
</div>
<div id="legendpane" class="panel-collapse collapse">
<div id = "listedAttributes" class="panel-body list-group" style="max-height: 200px; overflow-y:scroll;">
<img src="static/img/legend.png" alt="legend" width="185" height="147">
</div>
</div>
</div>
我想要的是把这个面板放在页面的按钮上。并且当页面自动调整大小以保持在那里(在右下角)。我尝试使用 margin-top: x% 或 maging-buttom 但它没有给出我想要的结果。 它没有响应。
【问题讨论】:
标签: css twitter-bootstrap-3 less