代码之家  ›  专栏  ›  技术社区  ›  helloworld

boothstrap4:小屏幕上的重叠列

  •  0
  • helloworld  · 技术社区  · 6 年前

    我有两列bootstrap4布局,其中前半部分是图像,另一半是表单。但是,我希望第二列首先在小屏幕上重叠,而不是在第一列下面换行。

    如何才能做到这一点?

    <div class="container">
      <div class="row">
        <div class="col-md-6 h-100 bgcolumn">
        </div>  
        <div class="col-md-6 h-100 text-center">
          <h1>
          HELLO
          </h1>
        </div>
      </div>  
    </div>
    

    https://jsfiddle.net/aq9Laaew/90676/

    0 回复  |  直到 6 年前