Blogger Information
Blog 2
fans 0
comment 0
visits 2017
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
作业
S丶轩丶S的博客
Original
885 people have browsed it

<div class="container">
   <h4>整行</h4>
   <div class="row">
       <div class="col-md-12 grid">内容</div>
   </div>
   <h4>二等分</h4>
   <div class="row">
       <div class="col- col-md-6 col-sm-4 col-xs-2 grid">内容</div>
       <div class="col-md-6 col-sm-8 col-xs-10 grid">内容</div>
   </div>
   <h4>三等分</h4>
   <div class="row">
       <div class="col-md-4 grid">内容</div>
       <div class="col-md-4 grid">内容</div>
       <div class="col-md-4 grid">内容</div>
   </div>
   <h4>四等分</h4>
   <div class="row">
       <div class="col-md-3 grid">内容</div>
       <div class="col-md-3 grid">内容</div>
       <div class="col-md-3 grid">内容</div>
       <div class="col-md-3 grid">内容</div>
   </div>
   <h4>六等分</h4>
   <div class="row">
       <div class="col-md-2 grid">内容</div>
       <div class="col-md-2 grid">内容</div>
       <div class="col-md-2 grid">内容</div>
       <div class="col-md-2 grid">内容</div>
       <div class="col-md-2 grid">内容</div>
       <div class="col-md-2 grid">内容</div>

 </div>

  QQ截图20171222220806.png

<h4>列偏移</h4>
<div class="row">
   <div class="col-md-3 grid">内容</div>
   <div class="col-md-3 col-md-offset-3 grid">内容</div>
   <div class="col-md-8 grid">内容</div>
   <div class="col-md-2 col-md-offset-2 grid">内容</div>
</div>

QQ截图20171223192830.png

<h4>列嵌套</h4>
<div class="row">
   <div class="col-sm-5 col-md-6 grid"><div class="col-sm-6 col-md-3 blue"></div>
       <div class="col-sm-6 col-md-9 red"></div>
   </div>
   <div class="col-sm-7 col-md-6 grid"></div>
</div>

QQ截图20171223192934.png

问题   列嵌套离里  为什么  两边会有留白,没发现有内外边距

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post