• <legend id='IjcRl'><style id='IjcRl'><dir id='IjcRl'><q id='IjcRl'></q></dir></style></legend>

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

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

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

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

      1. 带有引导网格系统的嵌套行?

        Nested rows with bootstrap grid system?(带有引导网格系统的嵌套行?)
        <i id='TIsEn'><tr id='TIsEn'><dt id='TIsEn'><q id='TIsEn'><span id='TIsEn'><b id='TIsEn'><form id='TIsEn'><ins id='TIsEn'></ins><ul id='TIsEn'></ul><sub id='TIsEn'></sub></form><legend id='TIsEn'></legend><bdo id='TIsEn'><pre id='TIsEn'><center id='TIsEn'></center></pre></bdo></b><th id='TIsEn'></th></span></q></dt></tr></i><div id='TIsEn'><tfoot id='TIsEn'></tfoot><dl id='TIsEn'><fieldset id='TIsEn'></fieldset></dl></div>
        <legend id='TIsEn'><style id='TIsEn'><dir id='TIsEn'><q id='TIsEn'></q></dir></style></legend>
          • <tfoot id='TIsEn'></tfoot>

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

              • <small id='TIsEn'></small><noframes id='TIsEn'>

                  <tbody id='TIsEn'></tbody>
                  本文介绍了带有引导网格系统的嵌套行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想要 1 个较大的图像和 4 个较小的图像,格式为 2x2,如下所示:

                  I want 1 larger image with 4 smaller images in a 2x2 format like this:

                  我最初的想法是将所有东西放在一排.然后创建两列,并在第二列中创建两行两列以创建 1x1 和 2x2 效果.

                  My initial thought was to house everything in one row. Then create two columns, and, in the second column, create two rows and two columns to create the 1x1 and 2x2 effect.

                  但是,这似乎是不可能的,还是我做的不对?

                  However, this doesn't seem to be possible, or I am just not doing it correctly?

                  推荐答案

                  Bootstrap Version 3.x

                  和往常一样,阅读 Bootstrap 的精彩文档:

                  Bootstrap Version 3.x

                  As always, read Bootstrap's great documentation:

                  3.x 文档:https://getbootstrap.com/docs/3.3/css/#grid-nesting

                  确保父级行位于 .container 元素内.每当您想嵌套行时,只需在您的列内打开一个新的 .row.

                  Make sure the parent level row is inside of a .container element. Whenever you'd like to nest rows, just open up a new .row inside of your column.

                  这是一个简单的布局:

                  <div class="container">
                      <div class="row">
                          <div class="col-xs-6">
                              <div class="big-box">image</div>
                          </div>
                          <div class="col-xs-6">
                              <div class="row">
                                  <div class="col-xs-6"><div class="mini-box">1</div></div>
                                  <div class="col-xs-6"><div class="mini-box">2</div></div>
                                  <div class="col-xs-6"><div class="mini-box">3</div></div>
                                  <div class="col-xs-6"><div class="mini-box">4</div></div>
                              </div>
                          </div>
                      </div>
                  </div>
                  

                  引导程序版本 4.0

                  4.0 文档:http://getbootstrap.com/docs/4.0/layout/grid/#nesting

                  这是 4.0 的更新版本,但您应该真正阅读网格上的整个文档部分,以便了解如何利用这一强大功能

                  Here's an updated version for 4.0, but you should really read the entire docs section on the grid so you understand how to leverage this powerful feature

                  <div class="container">
                    <div class="row">
                      <div class="col big-box">
                        image
                      </div>
                  
                      <div class="col">
                        <div class="row">
                          <div class="col mini-box">1</div>
                          <div class="col mini-box">2</div>
                        </div>
                        <div class="row">
                          <div class="col mini-box">3</div>
                          <div class="col mini-box">4</div>
                        </div>
                      </div>
                  
                    </div>
                  </div>
                  

                  Fiddle 中的演示 jsFiddle 3.x |jsFiddle 4.0

                  看起来像这样(添加了一点样式):

                  这篇关于带有引导网格系统的嵌套行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  quot;Status Code:200 OK (from ServiceWorker)quot; in Chrome Network DevTools?(“状态码:200 OK(来自 ServiceWorker)在 Chrome 网络开发工具中?)
                  What is quot;X-Content-Type-Options=nosniffquot;?(什么是“X-Content-Type-Options=nosniff?)
                  SmtpJs API not working! is there any way to send emails using SMTP server with JavaScript or JQuery(SmtpJs API 不工作!有没有办法使用带有 JavaScript 或 JQuery 的 SMTP 服务器发送电子邮件)
                  Can I send email using javascript(我可以使用 javascript 发送电子邮件吗)
                  Select All the objects on canvas using Fabric.js(使用 Fabric.js 选择画布上的所有对象)
                  Crop the image using JavaScript(使用 JavaScript 裁剪图像)
                  <tfoot id='lNWzw'></tfoot>
                    <tbody id='lNWzw'></tbody>

                    <legend id='lNWzw'><style id='lNWzw'><dir id='lNWzw'><q id='lNWzw'></q></dir></style></legend>

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

                            <bdo id='lNWzw'></bdo><ul id='lNWzw'></ul>
                          • <small id='lNWzw'></small><noframes id='lNWzw'>