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

列布局(Columns)

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

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

工作原理

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

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

  • Bootstrap包括預定義的類,用于創(chuàng)建快速、響應的布局。 每個網格層有六個斷點和十幾列,我們已經為您構建了幾十個類來創(chuàng)建所需的布局。如果您愿意,可以通過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來完成的,但不是每個實現(xià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>

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

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

這些類可以與實用程序一起使用來創(chuàng)建響應的浮動圖像。如果文本較短,請確保將內容包裝在.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日本高清_亚洲精品久久久久午夜福

      9000px;">

          精品久久久久久久久久久院品网| 日韩一区二区精品葵司在线| 国精产品一区一区三区mba视频 | 亚洲成av人片在线观看无码| 亚洲精品伦理在线| 久久久亚洲精品石原莉奈| 日韩视频免费观看高清完整版| 欧美无砖砖区免费| 欧美片在线播放| 日韩色在线观看| 欧美xxxxxxxx| 久久久久久久综合色一本| 日韩精品中文字幕一区二区三区| 色久优优欧美色久优优| 在线观看三级视频欧美| 欧美午夜视频网站| 91麻豆精品国产综合久久久久久| 欧美肥大bbwbbw高潮| 6080亚洲精品一区二区| 欧美精品一区二区久久久| 国产亚洲精品7777| 国产精品的网站| 一区2区3区在线看| 日韩高清一级片| 国产麻豆9l精品三级站| 成人av在线播放网址| 日本韩国欧美一区| 欧美电影一区二区| 国产欧美中文在线| 亚洲免费在线观看视频| 亚洲福利视频一区| 亚洲国产精品视频| 欧美一个色资源| 精品国产一区二区三区不卡| 久久久五月婷婷| 中文字幕日本不卡| 天天影视色香欲综合网老头| 国产精品99久久久久久宅男| 麻豆精品在线视频| 亚洲高清免费观看| 日韩一区二区三区高清免费看看| 在线观看一区二区精品视频| 狠狠色2019综合网| 不卡欧美aaaaa| 欧美一区二区三区播放老司机| 国产区在线观看成人精品| 亚洲香肠在线观看| 国产91富婆露脸刺激对白| 在线区一区二视频| 日本一区免费视频| 免费观看久久久4p| 日本道在线观看一区二区| 精品国产一区二区亚洲人成毛片| 一区二区三区成人| 成人午夜激情在线| 欧美成人女星排名| 视频一区国产视频| 在线视频一区二区三区| 亚洲国产高清在线| 捆绑调教一区二区三区| 欧美亚洲国产怡红院影院| 中文字幕精品一区二区三区精品| 日日摸夜夜添夜夜添精品视频| 91久久精品网| 国产精品免费久久| 国产成a人亚洲| 久久综合久久综合久久综合| 青青青伊人色综合久久| 欧美午夜电影网| 亚洲激情图片小说视频| 成人高清视频免费观看| 国产亚洲精品精华液| 国模大尺度一区二区三区| 日韩精品一区二区在线观看| 亚洲国产精品天堂| 在线一区二区三区四区| 一区二区三区在线观看欧美| 一本到三区不卡视频| 国产精品国模大尺度视频| 成人听书哪个软件好| 国产天堂亚洲国产碰碰| 福利一区二区在线观看| 国产欧美日韩三级| 国产精品2024| 欧美国产日韩a欧美在线观看| 国产精品一区二区不卡| 中文字幕高清一区| 成人av免费在线播放| 亚洲精品欧美二区三区中文字幕| 色一情一伦一子一伦一区| 亚洲一区二区三区激情| 欧美日韩激情一区| 精品一区二区三区免费播放| 久久久蜜臀国产一区二区| 国产精品自拍三区| 中文字幕一区在线观看视频| 91网页版在线| 日韩精品视频网站| 亚洲精品在线免费观看视频| 成人av在线资源网| 午夜久久久影院| 欧美www视频| 不卡的av在线| 日韩专区一卡二卡| 国产亚洲精久久久久久| 91精品福利视频| 免费成人在线观看视频| 久久久久久久久久久电影| 91尤物视频在线观看| 首页国产丝袜综合| 国产亚洲欧美色| 欧美日韩黄色一区二区| 国产精品夜夜嗨| 亚洲第四色夜色| 国产亚洲欧美中文| 欧美日韩精品三区| 国产成人午夜片在线观看高清观看| 中文字幕一区二区5566日韩| 91精品国产黑色紧身裤美女| 国产a久久麻豆| 免费亚洲电影在线| 亚洲另类春色校园小说| 国产亚洲精品久| 日韩美女一区二区三区四区| 91蜜桃网址入口| 国产一区二区三区久久悠悠色av| 亚洲精品视频自拍| 中文字幕不卡在线观看| 欧美大片在线观看| 欧美三区免费完整视频在线观看| 国产成人精品网址| 麻豆91在线播放免费| 亚洲一区二区三区在线播放| 中文成人综合网| 久久久久久麻豆| 精品少妇一区二区三区日产乱码| 欧美午夜电影一区| 色综合天天综合网国产成人综合天| 久久99久久久久久久久久久| 日日夜夜免费精品视频| 亚洲一区视频在线观看视频| 亚洲欧美日韩国产中文在线| 国产日韩欧美电影| 国产日韩精品一区| 精品第一国产综合精品aⅴ| 日韩一区二区三区观看| 欧美美女视频在线观看| 欧美调教femdomvk| 欧美最猛性xxxxx直播| 菠萝蜜视频在线观看一区| 国产成人精品aa毛片| 国产成人精品1024| 粉嫩aⅴ一区二区三区四区| 国产91精品露脸国语对白| 国产成人精品免费一区二区| 国产超碰在线一区| 成人手机在线视频| 91亚洲永久精品| 91久久精品网| 欧美午夜一区二区三区| 欧美精选午夜久久久乱码6080| 91色.com| 欧美日韩五月天| 日韩欧美aaaaaa| 国产欧美日韩精品a在线观看| 欧美国产精品中文字幕| 亚洲欧美日韩中文播放| 亚洲精品国产精华液| 亚洲资源中文字幕| 免费av网站大全久久| 国产一区二区中文字幕| 成人亚洲一区二区一| 色婷婷一区二区三区四区| 在线成人av影院| 精品国产91乱码一区二区三区 | 91免费观看在线| 欧美日韩国产影片| 久久久综合精品| 亚洲伦理在线免费看| 亚洲成人午夜影院| 九九**精品视频免费播放| 成人免费视频免费观看| 欧美亚洲国产怡红院影院| 精品国产青草久久久久福利| 中文字幕一区二区三区在线不卡| 一区二区三区高清在线| 黄色资源网久久资源365| 色国产精品一区在线观看| 精品日韩欧美一区二区| 亚洲视频在线一区二区| 久久99精品久久久久久| 色哟哟精品一区| 国产欧美一区二区精品秋霞影院| 亚洲女性喷水在线观看一区| 久久精品国产精品亚洲红杏| 色8久久人人97超碰香蕉987| 精品国产一区二区三区四区四 | 欧美乱妇15p| 亚洲欧美日韩国产综合在线| 精品一区二区三区免费|