我正在使用Bootstrap网格系统动态布局我的页面上的内容 . 但是,当滚动条出现时,流体布局的宽度会发生变化,使其看起来有些刺耳 .
有没有什么办法解决这一问题?
让我知道您在动态内容中需要多少个网格?
让我解释一下,如果你想在你的动态内容中使用3个网格,那么将你的循环放在具有类行的div中,并确保你的div与类行在容器或容器流体中 .
<div class="container-fluid"> <div class="row"> /* your loop code goes here with grid class */ <div class="col-md-3"> /*whenever you loop work then this div will repeat*/ your content </div> </div> </div>
1 回答
让我知道您在动态内容中需要多少个网格?
让我解释一下,如果你想在你的动态内容中使用3个网格,那么将你的循环放在具有类行的div中,并确保你的div与类行在容器或容器流体中 .