我得到了一个Web应用程序的所有权,它是bootstrap(5)和html代码的混合体.
问题是,如果我试图用col-md-offset-4
来推送一个列,它根本不起作用.
不只是colmd-Offset-4,任何colmd-Offset-*都不起作用.
<div class="container">
<h1>Responsive Columns</h1>
<p>Resize the browser window to see the effect.</p>
<p>The columns will automatically stack on top of each other when the screen is less than 576px wide.</p>
<div class="row">
<div class="col-sm-3 ">.col</div>
<div class="col-sm-3 ">.col</div>
<div class="col-sm-3 ">.col</div>
<div class="col-sm-3 ">.col</div>
</div>
</div>