Ral*_*ser 6 css twitter-bootstrap
我正在使用Twitter Bootstrap 3开发一个网站,我确实有两个问题:
这是我的结构(例如我必须放置侧边栏以便在折叠时将其放下):
<div class="col-md-8">
<p>This is content, and when collapsing I want it to be placed over the sidebar! </p>
</div>
<div class="col-md-4">
<p>This is sidebar, and it gets down, but I would like to have it placed at the left side of the content!</p>
</div>
Run Code Online (Sandbox Code Playgroud)
非常感谢,拉尔夫
kal*_*rtt 10
该推拉类是为这个伟大的,试试:
<div class="col-md-8 col-md-push-4">
<p>This is content, and when collapsing I want it to be placed over the sidebar! </p>
</div>
<div class="col-md-4 col-md-pull-8">
<p>This is sidebar, and it gets down, but I would like to have it placed at the left side of the content!</p>
</div>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2428 次 |
| 最近记录: |