美文网首页
bootstrap中让row之间距离增加

bootstrap中让row之间距离增加

作者: kamionayuki | 来源:发表于2015-05-26 13:36 被阅读316次

    <div class="clearfix" style="margin-bottom: 10px;"></div>
    

    比如:

    <div class="container">
        <div class="row">
        <div class="col-xs-11">     
          <%= f.text_field :title, type: "text", class: "form-control", placeholder: "请输入标题"  %>
        </div>
      </div>
    
    <div class="clearfix" style="margin-bottom: 10px;"></div>
    
      <div class="row">
        <div  class="col-xs-11">
          <%= f.kindeditor :content, height: 400, placeholder: @blog.errors[:content].join("") %>
        </div>
      </div>
    
    <div class="clearfix" style="margin-bottom: 10px;"></div>
    
      <div class="row">
          <div class="col-xs-11"><%= f.submit "提交", class: "btn btn-primary" %></div>
      </div>
      <% end %>
    
    </div>
    

    相关文章

      网友评论

          本文标题:bootstrap中让row之间距离增加

          本文链接:https://www.haomeiwen.com/subject/hwsrqttx.html