<i id='cH8dj'><tr id='cH8dj'><dt id='cH8dj'><q id='cH8dj'><span id='cH8dj'><b id='cH8dj'><form id='cH8dj'><ins id='cH8dj'></ins><ul id='cH8dj'></ul><sub id='cH8dj'></sub></form><legend id='cH8dj'></legend><bdo id='cH8dj'><pre id='cH8dj'><center id='cH8dj'></center></pre></bdo></b><th id='cH8dj'></th></span></q></dt></tr></i><div id='cH8dj'><tfoot id='cH8dj'></tfoot><dl id='cH8dj'><fieldset id='cH8dj'></fieldset></dl></div>
      1. <tfoot id='cH8dj'></tfoot>
      2. <small id='cH8dj'></small><noframes id='cH8dj'>

        <legend id='cH8dj'><style id='cH8dj'><dir id='cH8dj'><q id='cH8dj'></q></dir></style></legend>
          <bdo id='cH8dj'></bdo><ul id='cH8dj'></ul>

        如何访问引导网格系统中的某些列?

        How do I access certain column in bootstrap grid system?(如何访问引导网格系统中的某些列?)

        <tfoot id='xojn7'></tfoot>

                  <bdo id='xojn7'></bdo><ul id='xojn7'></ul>
                    <tbody id='xojn7'></tbody>

                  <i id='xojn7'><tr id='xojn7'><dt id='xojn7'><q id='xojn7'><span id='xojn7'><b id='xojn7'><form id='xojn7'><ins id='xojn7'></ins><ul id='xojn7'></ul><sub id='xojn7'></sub></form><legend id='xojn7'></legend><bdo id='xojn7'><pre id='xojn7'><center id='xojn7'></center></pre></bdo></b><th id='xojn7'></th></span></q></dt></tr></i><div id='xojn7'><tfoot id='xojn7'></tfoot><dl id='xojn7'><fieldset id='xojn7'></fieldset></dl></div>

                  <small id='xojn7'></small><noframes id='xojn7'>

                • <legend id='xojn7'><style id='xojn7'><dir id='xojn7'><q id='xojn7'></q></dir></style></legend>
                • 本文介绍了如何访问引导网格系统中的某些列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在引导网格系统中,有 12 列,col - *- * 类用于将一定数量的列组合在一起.但是当我想使用前 3 列,然后只使用最后一列时,我该怎么做,也就是说,如何在单行类中使用某些列而不是其他列?

                  In the bootstrap grid system, there are 12 columns and col - *- * class is used to group together certain number of columns. But when I want to use the first 3 columns and then just the last column how do I do that, that is, how can I use certain columns and not others in a single row class?

                  就像我制作页眉时一样,我在左侧给出标题,在页眉右侧给出某些其他文本,我假设我可以在这里有效地使用网格系统,因为我可以访问某些列.

                  Like when I make a page header, I give the title on the left hand side and certain other text on the right side of the header, I assume I can use the grid system here effectively, given that I can access certain columns.

                  推荐答案

                  使用 .offset-* 类(.col-md-offset-* 类适用于早于 4.0.0 的版本).比如占用前 4 列,只占用后 2 列如下:

                  Use the .offset-* class (.col-md-offset-* class for versions older than 4.0.0). For instance, occupy first 4 cols, and only the last 2 cols as follows:

                  <div class="row">
                    <div class="col-md-4">.col-md-4</div>
                    <div class="col-md-2 offset-md-6">.col-md-6 .offset-md-2</div>
                  </div>
                  

                  引导 v4.0.0-alpha.6

                  .b { background: #CCC; height: 80px; }

                  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
                  
                  <div class="container">
                    <div class="row">
                      <div class="b col-sm-4"></div>
                      <div class="b offset-sm-6 col-sm-2"></div>
                    </div>
                  </div>

                  .b { background: #CCC; height: 80px; }

                  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
                  
                  <div class="container">
                    <div class="row">
                      <div class="b col-xs-4"></div>
                      <div class="b col-xs-offset-6 col-xs-2"></div>
                    </div>
                  </div>

                  这篇关于如何访问引导网格系统中的某些列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Embed YouTube video - Refused to display in a frame because it set #39;X-Frame-Options#39; to #39;SAMEORIGIN#39;(嵌入 YouTube 视频 - 拒绝显示在框架中,因为它将“X-Frame-Options设置为“SAMEORIGIN)
                  Stop embedded youtube iframe?(停止嵌入 youtube iframe?)
                  YouTube iframe API: how do I control an iframe player that#39;s already in the HTML?(YouTube iframe API:如何控制 HTML 中已有的 iframe 播放器?)
                  Switch/toggle div (jQuery)(切换/切换 div (jQuery))
                  Apply jquery (mobile) css classes programatically after rendering has occurred(呈现后以编程方式应用 jquery (mobile) css 类)
                  How to avoid name clashes in JavaScript widgets(如何避免 JavaScript 小部件中的名称冲突)

                  <small id='REE5u'></small><noframes id='REE5u'>

                • <i id='REE5u'><tr id='REE5u'><dt id='REE5u'><q id='REE5u'><span id='REE5u'><b id='REE5u'><form id='REE5u'><ins id='REE5u'></ins><ul id='REE5u'></ul><sub id='REE5u'></sub></form><legend id='REE5u'></legend><bdo id='REE5u'><pre id='REE5u'><center id='REE5u'></center></pre></bdo></b><th id='REE5u'></th></span></q></dt></tr></i><div id='REE5u'><tfoot id='REE5u'></tfoot><dl id='REE5u'><fieldset id='REE5u'></fieldset></dl></div>

                    <bdo id='REE5u'></bdo><ul id='REE5u'></ul>

                      • <legend id='REE5u'><style id='REE5u'><dir id='REE5u'><q id='REE5u'></q></dir></style></legend>
                            <tbody id='REE5u'></tbody>

                        • <tfoot id='REE5u'></tfoot>