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

列布局(Columns)

借助我們的彈性盒子網格系統,了解如何使用一些用于對齊、排序和偏移的選項來修改列。另外,請參閱如何使用列類來管理非網格元素的寬度。

注意! 在深入了解如何修改和自定義網格列之前,請務必先閱讀網格頁。

工作原理

  • 列構建在網格的彈性盒子體系結構上。 彈性盒子意味著我們可以在行級別更改單個列和修改列組。您可以選擇列的增長、收縮或其他更改方式。

  • 在構建網格布局時,所有內容都列在列中。 Bootstrap程序網格的層次結構從容器到行到列再到內容。在極少數情況下,您可能會將內容和專欄結合起來,但要注意,可能會產生意想不到的后果。

  • Bootstrap包括預定義的類,用于創建快速、響應的布局。 每個網格層有六個斷點和十幾列,我們已經為您構建了幾十個類來創建所需的布局。如果您愿意,可以通過Sass禁用此功能。

對齊

使用flexbox對齊實用程序垂直和水平對齊列。

垂直對齊

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>

水平對齊

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>

列換行

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

.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中將列拆分為新行需要一個小技巧:添加一個寬度為100%的元素,無論您想在哪里將列換到新行。通常這是通過多個.row來完成的,但不是每個實現方法都能解釋這一點。

.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>

您也可以使用我們的響應顯示實用程序在特定斷點處應用此中斷。

.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-類控制內容的視覺順序。這些類是響應的,因此您可以按斷點設置順序(例如,.order-1.order-md-2)。包括對所有六個網格層的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>

還有響應的.order-first.order-last類,它們分別通過應用order: -1order: 6來更改元素的順序。這些類也可以根據需要與編號的.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>

列偏移

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

偏移類

使用.offset-md-*類向右移動列。這些類將列的左邊距增加*列。例如,.offset-md-4在四列上移動.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>

除了在響應斷點處清除列之外,還可能需要重置偏移量。在網格示例中可以看到這一點。

.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>

外邊距實用類

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

.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>

獨立列類

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

.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>

這些類可以與實用程序一起使用來創建響應的浮動圖像。如果文本較短,請確保將內容包裝在.clearfix包裝器中以清除浮動。

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日本高清_亚洲精品久久久久午夜福

      欧美一进一出视频| 欧美激情欧美狂野欧美精品| 狠狠色综合网| 欧美日韩一区二| 美玉足脚交一区二区三区图片| 亚洲国产一区二区三区青草影视 | 亚洲国产一区二区三区a毛片| 欧美日韩在线播放| 免费成人黄色| 久久人体大胆视频| 亚洲欧美视频在线观看| 夜夜嗨av一区二区三区网页 | 久久高清国产| 亚洲一区二区三区精品在线观看 | 蜜桃精品久久久久久久免费影院| 在线视频一区二区| 亚洲精品国产精品乱码不99| 精品电影一区| 国产一区二区三区的电影| 欧美午夜不卡影院在线观看完整版免费| 久久久精彩视频| 久久久久久夜| 久久躁日日躁aaaaxxxx| 欧美在线影院| 欧美一级艳片视频免费观看| 午夜在线成人av| 欧美亚洲日本网站| 久久福利电影| 久久久久九九视频| 久久―日本道色综合久久| 久久久蜜桃精品| 久久免费视频这里只有精品| 久久久av毛片精品| 久久久国产精品一区二区中文| 久久精品2019中文字幕| 久久久久久夜| 欧美大片免费观看| 欧美激情2020午夜免费观看| 欧美激情欧美激情在线五月| 欧美区日韩区| 国产精品美女久久福利网站| 国产日韩欧美中文| 依依成人综合视频| 亚洲人成在线播放| 亚洲视频中文字幕| 午夜国产精品视频免费体验区| 欧美一区二区观看视频| 久久国产精品99国产精| 免费成人小视频| 欧美精品午夜视频| 国产精品女主播| 黑人巨大精品欧美黑白配亚洲| 亚洲第一搞黄网站| 一区二区三区久久| 久久久久久久成人| 欧美午夜精品久久久久久孕妇| 国产午夜精品视频| 亚洲国产精品欧美一二99| 在线视频亚洲一区| 久久久亚洲国产天美传媒修理工 | 亚洲精品1234| 亚洲综合不卡| 欧美黄免费看| 国产欧美精品一区aⅴ影院| 91久久精品国产91性色| 亚洲欧美中文日韩v在线观看| 麻豆成人综合网| 国产精品久久久久久五月尺| 在线观看精品视频| 性欧美xxxx视频在线观看| 欧美国产激情| 狠狠色丁香婷婷综合| 亚洲视频一区在线观看| 美女精品自拍一二三四| 国产精品美女久久久浪潮软件| 国内伊人久久久久久网站视频| 一本色道久久综合亚洲精品小说| 久久精品国产2020观看福利| 欧美视频官网| 亚洲毛片一区| 免费一区二区三区| 国产在线拍偷自揄拍精品| 一区二区三区高清在线| 欧美人牲a欧美精品| 亚洲第一精品久久忘忧草社区| 亚洲欧美日本国产专区一区| 欧美日韩性视频在线| 亚洲激情视频在线观看| 久久精品午夜| 国内精品视频一区| 午夜精品视频在线| 国产精品一区二区黑丝| 亚洲欧美日韩国产中文| 国产精品福利av| 亚洲天堂av综合网| 欧美午夜电影网| 中文国产成人精品久久一| 欧美韩日亚洲| 夜夜躁日日躁狠狠久久88av| 美日韩精品免费| 亚洲韩国一区二区三区| 毛片一区二区| 亚洲精品乱码久久久久久日本蜜臀 | 久久精品一区四区| 国内外成人免费激情在线视频网站| 亚洲欧美日韩视频一区| 国产日韩在线一区| 久久九九电影| 在线精品视频在线观看高清 | 1000部精品久久久久久久久| 久久精品国产久精国产爱| 极品尤物久久久av免费看| 另类欧美日韩国产在线| 亚洲激情图片小说视频| 欧美激情一区二区久久久| 99在线精品视频| 国产精品尤物| 免费观看30秒视频久久| 99这里只有精品| 国产精品自拍一区| 久久久久久香蕉网| 亚洲另类黄色| 国产精品网站在线播放| 久久免费国产精品| 亚洲精品一区在线| 国产伦理一区| 欧美大胆人体视频| 欧美一级黄色网| 亚洲国产精品悠悠久久琪琪| 欧美三日本三级少妇三2023| 久久都是精品| 亚洲小说欧美另类社区| 国产一区二区三区av电影 | 欧美精品国产精品日韩精品| 亚洲欧美国产毛片在线| 亚洲福利视频二区| 国产精品一区二区a| 美女图片一区二区| 欧美一区二区三区喷汁尤物| 亚洲精品三级| 国模精品一区二区三区色天香| 欧美激情综合五月色丁香小说| 欧美一区二区三区四区夜夜大片| 亚洲第一综合天堂另类专| 国产精品午夜春色av| 欧美精品一区二区三区四区| 欧美中文字幕第一页| 亚洲视频www| 亚洲日本一区二区三区| 国内精品久久久久久影视8| 国产精品99免费看 | 亚洲精品在线观看免费| 国产欧美日韩伦理| 欧美日韩一区二区三区在线观看免| 久久久亚洲精品一区二区三区| 亚洲免费婷婷| 日韩一级裸体免费视频| 亚洲国产小视频在线观看| 国内久久视频| 国产区精品视频| 国产精品成人观看视频免费| 欧美日韩另类一区| 欧美精品激情在线观看| 免费中文日韩| 欧美电影免费观看大全| 美女福利精品视频| 老司机精品久久| 麻豆国产精品va在线观看不卡| 欧美在线亚洲| 久久九九久精品国产免费直播| 香蕉国产精品偷在线观看不卡| 亚洲图片你懂的| 亚洲天堂av综合网| 亚洲欧美日韩一区二区在线 | 在线观看日韩国产| 在线播放亚洲一区| 最新中文字幕一区二区三区| 亚洲欧洲一二三| 这里只有精品丝袜| 亚洲欧美在线高清| 久久精品国产亚洲5555| 久久艳片www.17c.com| 欧美成人午夜激情在线| 欧美日韩1080p| 国产精品免费电影| 国精产品99永久一区一区| 影院欧美亚洲| 一本久久a久久免费精品不卡| 亚洲一区二区视频在线| 亚洲欧美三级伦理| 久久久五月天| 欧美日韩免费观看中文| 国产精品一区二区在线| 激情综合久久| 一区二区三区www| 久久激情五月激情| 欧美日本一区| 国产永久精品大片wwwapp| 亚洲精品乱码久久久久久日本蜜臀| 亚洲一级影院|