精品久久久久久亚洲精品_成人午夜网站_www日本高清_亚洲精品久久久久午夜福

列布局(Columns)

借助我們的彈性盒子網(wǎng)格系統(tǒng),了解如何使用一些用于對(duì)齊、排序和偏移的選項(xiàng)來修改列。另外,請(qǐng)參閱如何使用列類來管理非網(wǎng)格元素的寬度。

注意! 在深入了解如何修改和自定義網(wǎng)格列之前,請(qǐng)務(wù)必先閱讀網(wǎng)格頁。

工作原理

  • 列構(gòu)建在網(wǎng)格的彈性盒子體系結(jié)構(gòu)上。 彈性盒子意味著我們可以在行級(jí)別更改單個(gè)列和修改列組。您可以選擇列的增長(zhǎng)、收縮或其他更改方式。

  • 在構(gòu)建網(wǎng)格布局時(shí),所有內(nèi)容都列在列中。 Bootstrap程序網(wǎng)格的層次結(jié)構(gòu)從容器到行到列再到內(nèi)容。在極少數(shù)情況下,您可能會(huì)將內(nèi)容和專欄結(jié)合起來,但要注意,可能會(huì)產(chǎn)生意想不到的后果。

  • Bootstrap包括預(yù)定義的類,用于創(chuàng)建快速、響應(yīng)的布局。 每個(gè)網(wǎng)格層有六個(gè)斷點(diǎn)和十幾列,我們已經(jīng)為您構(gòu)建了幾十個(gè)類來創(chuàng)建所需的布局。如果您愿意,可以通過Sass禁用此功能。

對(duì)齊

使用flexbox對(duì)齊實(shí)用程序垂直和水平對(duì)齊列。

垂直對(duì)齊

One of three columns
One of three columns
One of three columns
One of three columns
One of three columns
One of three columns
One of three columns
One of three columns
One of three columns
<div class="container">
<div class="row align-items-start">
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
</div>
<div class="row align-items-center">
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
</div>
<div class="row align-items-end">
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
</div>
</div>
One of three columns
One of three columns
One of three columns
<div class="container">
<div class="row">
<div class="col align-self-start">
One of three columns
</div>
<div class="col align-self-center">
One of three columns
</div>
<div class="col align-self-end">
One of three columns
</div>
</div>
</div>

水平對(duì)齊

One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
One of two columns
<div class="container">
<div class="row justify-content-start">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
<div class="row justify-content-center">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
<div class="row justify-content-end">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
<div class="row justify-content-around">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
<div class="row justify-content-between">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
<div class="row justify-content-evenly">
<div class="col-4">
One of two columns
</div>
<div class="col-4">
One of two columns
</div>
</div>
</div>

列換行

如果一行中放置的列數(shù)超過12列,則每組額外列將作為一個(gè)單元換行。

.col-9
.col-4
Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.
.col-6
Subsequent columns continue along the new line.
<div class="container">
<div class="row">
<div class="col-9">.col-9</div>
<div class="col-4">.col-4<br>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
<div class="col-6">.col-6<br>Subsequent columns continue along the new line.</div>
</div>
</div>

列拆分

在flexbox中將列拆分為新行需要一個(gè)小技巧:添加一個(gè)寬度為100%的元素,無論您想在哪里將列換到新行。通常這是通過多個(gè).row來完成的,但不是每個(gè)實(shí)現(xiàn)方法都能解釋這一點(diǎn)。

.col-6 .col-sm-3
.col-6 .col-sm-3
.col-6 .col-sm-3
.col-6 .col-sm-3
<div class="container">
<div class="row">
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>

<!-- Force next columns to break to new line -->
<div class="w-100"></div>

<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
<div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
</div>
</div>

您也可以使用我們的響應(yīng)顯示實(shí)用程序在特定斷點(diǎn)處應(yīng)用此中斷。

.col-6 .col-sm-4
.col-6 .col-sm-4
.col-6 .col-sm-4
.col-6 .col-sm-4
<div class="container">
<div class="row">
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>

<!-- Force next columns to break to new line at md breakpoint and up -->
<div class="w-100 d-none d-md-block"></div>

<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
<div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
</div>
</div>

重新排序

排序類

使用.order-類控制內(nèi)容的視覺順序。這些類是響應(yīng)的,因此您可以按斷點(diǎn)設(shè)置順序(例如,.order-1.order-md-2)。包括對(duì)所有六個(gè)網(wǎng)格層的1到5的支持。

First in DOM, no order applied
Second in DOM, with a larger order
Third in DOM, with an order of 1
<div class="container">
<div class="row">
<div class="col">
First in DOM, no order applied
</div>
<div class="col order-5">
Second in DOM, with a larger order
</div>
<div class="col order-1">
Third in DOM, with an order of 1
</div>
</div>
</div>

還有響應(yīng)的.order-first.order-last類,它們分別通過應(yīng)用order: -1order: 6來更改元素的順序。這些類也可以根據(jù)需要與編號(hào)的.order-*類混合使用。

First in DOM, ordered last
Second in DOM, unordered
Third in DOM, ordered first
<div class="container">
<div class="row">
<div class="col order-last">
First in DOM, ordered last
</div>
<div class="col">
Second in DOM, unordered
</div>
<div class="col order-first">
Third in DOM, ordered first
</div>
</div>
</div>

列偏移

您可以通過兩種方式偏移網(wǎng)格列:我們的響應(yīng)式.offset-類和margin實(shí)用程序。網(wǎng)格類的大小與列匹配,而邊距對(duì)于偏移寬度可變的快速布局更有用。

偏移類

使用.offset-md-*類向右移動(dòng)列。這些類將列的左邊距增加*列。例如,.offset-md-4在四列上移動(dòng).col-md-4

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

除了在響應(yīng)斷點(diǎn)處清除列之外,還可能需要重置偏移量。在網(wǎng)格示例中可以看到這一點(diǎn)。

.col-sm-5 .col-md-6
.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0
.col-sm-6 .col-md-5 .col-lg-6
.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0
<div class="container">
<div class="row">
<div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
<div class="col-sm-5 offset-sm-2 col-md-6 offset-md-0">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
<div class="col-sm-6 col-md-5 offset-md-2 col-lg-6 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
</div>
</div>

外邊距實(shí)用類

通過在v4中遷移到flexbox,您可以使用諸如.me auto之類的邊距實(shí)用程序強(qiáng)制同級(jí)列彼此分離。

.col-md-4
.col-md-4 .ms-auto
.col-md-3 .ms-md-auto
.col-md-3 .ms-md-auto
.col-auto .me-auto
.col-auto
<div class="container">
<div class="row">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4 ms-auto">.col-md-4 .ms-auto</div>
</div>
<div class="row">
<div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
<div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
</div>
<div class="row">
<div class="col-auto me-auto">.col-auto .me-auto</div>
<div class="col-auto">.col-auto</div>
</div>
</div>

獨(dú)立列類

.col-*類也可以在 .row外部使用,為元素提供特定的寬度。當(dāng)列類用作行的非直接子級(jí)時(shí),將忽略填充。

.col-3: width of 25%
.col-sm-9: width of 75% above sm breakpoint
<div class="col-3 bg-light p-3 border">
.col-3: width of 25%
</div>
<div class="col-sm-9 bg-light p-3 border">
.col-sm-9: width of 75% above sm breakpoint
</div>

這些類可以與實(shí)用程序一起使用來創(chuàng)建響應(yīng)的浮動(dòng)圖像。如果文本較短,請(qǐng)確保將內(nèi)容包裝在.clearfix包裝器中以清除浮動(dòng)。

Placeholder Responsive floated image

A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image.

As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read.

And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here.

<div class="clearfix">
<img src="..." class="col-md-6 float-md-end mb-3 ms-md-3" alt="...">

<p>
A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image.
</p>

<p>
As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read.
</p>

<p>
And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here.
</p>
</div>
返回頂部
精品久久久久久亚洲精品_成人午夜网站_www日本高清_亚洲精品久久久久午夜福

      9000px;">

          亚洲精品综合在线| 午夜精品在线看| 亚洲国产精品精华液网站| 一本久久a久久免费精品不卡| 欧美一区二区福利在线| 亚洲欧美视频在线观看| 欧美在线视频不卡| 亚洲国产成人tv| 日韩美女视频在线| 蜜臀精品久久久久久蜜臀 | 午夜不卡av免费| 91麻豆成人久久精品二区三区| 亚洲在线观看免费| 欧美日韩免费电影| 日韩美一区二区三区| 国产剧情av麻豆香蕉精品| 欧美电影免费观看高清完整版在线| 国产精品一区不卡| 亚洲人一二三区| 久久成人av少妇免费| 国产精品日韩成人| 在线视频国产一区| 国产精品一区二区久久精品爱涩| 国产精品久久久久婷婷| 日本韩国欧美国产| 日产国产高清一区二区三区| 亚洲精品在线免费观看视频| 成人黄色在线看| 亚洲一区欧美一区| 欧美一区二区视频观看视频| 久久99精品一区二区三区三区| 国产日韩精品一区| 欧美日韩精品欧美日韩精品一综合| 久久精品99国产精品| 国产精品国产三级国产aⅴ中文| 欧美亚洲国产一区在线观看网站| 久久69国产一区二区蜜臀| 6080国产精品一区二区| 色国产精品一区在线观看| 丝袜美腿亚洲色图| 午夜私人影院久久久久| 国产精品无人区| 国产一区免费电影| 亚洲午夜久久久久久久久电影网| 日韩无一区二区| 欧美精品乱码久久久久久| 国产福利电影一区二区三区| 麻豆精品一二三| 亚洲免费观看高清完整| 欧美网站大全在线观看| 91亚洲精华国产精华精华液| 激情欧美日韩一区二区| 亚洲午夜免费电影| 国产丝袜欧美中文另类| 日韩三级视频在线观看| 欧美性欧美巨大黑白大战| 色94色欧美sute亚洲线路二| 国产精品白丝av| 国产成人精品亚洲日本在线桃色 | 美女爽到高潮91| 久久免费视频色| 久久嫩草精品久久久久| 88在线观看91蜜桃国自产| 欧美三级日本三级少妇99| 91丨九色丨尤物| 欧美色精品在线视频| 色婷婷综合久久| 成人一级视频在线观看| 91丨九色丨黑人外教| 99在线精品免费| 欧美理论在线播放| 欧美日本国产视频| 欧美刺激午夜性久久久久久久| 91精品视频网| 91影视在线播放| 欧美一区二区三区在线视频| 欧洲精品一区二区三区在线观看| 欧美一区二区三区在线观看 | 亚洲午夜一区二区三区| 一区二区三区**美女毛片| 精品精品欲导航| 欧美国产日韩亚洲一区| 中文字幕精品在线不卡| 天天操天天综合网| 欧美bbbbb| 久久国产成人午夜av影院| 精品无码三级在线观看视频| 激情文学综合丁香| 国产白丝精品91爽爽久久 | 欧美亚男人的天堂| 欧美日韩视频在线观看一区二区三区| 欧美亚洲动漫制服丝袜| 欧美一区二区三区电影| 久久众筹精品私拍模特| 日本一区二区三区四区在线视频 | 久久电影国产免费久久电影| 一区二区在线观看不卡| 中文字幕欧美一| 久久久精品一品道一区| 老司机精品视频导航| 免费在线观看精品| 亚洲不卡一区二区三区| 樱花影视一区二区| 精品黑人一区二区三区久久| 亚洲欧美激情在线| 成人午夜伦理影院| 欧美日韩在线播放一区| 久久精品这里都是精品| 日本一区二区三区在线观看| 91丨porny丨国产入口| 久久久久国产精品麻豆ai换脸| 欧美一a一片一级一片| 国产亚洲一区字幕| 图片区小说区区亚洲影院| 色哟哟日韩精品| 久久视频一区二区| 欧美tickling网站挠脚心| 国产精品亚洲第一| 国产精品久久久久久福利一牛影视| 国产精品日韩成人| www.欧美日韩| 亚洲第一福利一区| 激情综合五月婷婷| 午夜成人免费电影| 日韩av网站免费在线| 懂色av一区二区三区免费观看| 95精品视频在线| 欧美岛国在线观看| 亚洲国产日日夜夜| 成人精品高清在线| 久久尤物电影视频在线观看| 国产精品久久久久一区| 91精品欧美久久久久久动漫| 日韩影视精彩在线| 日韩午夜激情av| 日韩三级视频在线观看| 亚洲女人****多毛耸耸8| 色狠狠av一区二区三区| 久久久久久久久久看片| 一区二区三区四区精品在线视频| 在线免费亚洲电影| 欧美精品一区二区三区蜜臀| 亚洲一二三四区| 欧美性色黄大片| 在线欧美小视频| 亚洲激情图片小说视频| 在线精品视频一区二区三四| 欧美经典一区二区| 在线免费视频一区二区| 久久成人综合网| 国产精品三级在线观看| 欧美日韩在线观看一区二区| 精品一区二区三区免费毛片爱| 国产日韩欧美在线一区| 欧美丝袜丝交足nylons图片| 久久超级碰视频| 亚洲日本免费电影| 精品少妇一区二区三区在线视频| av在线不卡免费看| 日韩成人精品视频| 中文字幕亚洲一区二区va在线| 4438亚洲最大| 91亚洲精品乱码久久久久久蜜桃| 麻豆精品久久精品色综合| 中文字幕一区不卡| www国产精品av| 欧美高清视频一二三区 | 欧美变态口味重另类| 成人免费毛片app| 蜜臀va亚洲va欧美va天堂| 亚洲精品网站在线观看| www久久精品| 日韩精品在线网站| 欧美片网站yy| 色综合久久久久综合体| 国产在线国偷精品免费看| 午夜久久久久久| 一区二区三区免费观看| 欧美激情综合五月色丁香小说| 欧美老肥妇做.爰bbww视频| 色综合久久久网| 国产91精品免费| 国产在线视频不卡二| 男男视频亚洲欧美| 亚洲福利一区二区| 一区二区久久久久久| 有坂深雪av一区二区精品| 国产精品欧美精品| 国产精品你懂的在线欣赏| 欧美激情一区三区| 国产精品久久久久久妇女6080| 久久综合国产精品| 久久久影视传媒| 26uuu成人网一区二区三区| 欧美www视频| 久久精品一区二区三区不卡牛牛| 精品国产一区二区精华| 日韩欧美电影一二三| 精品国产91洋老外米糕| www久久精品|