亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮

卡片(Card)

Bootstrap的卡提供了一個靈活的、可擴展的內容容器,其中包含多種變體和選項。

關于

卡片是一個有彈性且可擴展的內容容器。它包含了頁首和頁尾的選項、多樣化的內容、上下文的背景顏色以及強大的展示選項。如果你很熟悉Bootstrap 3,那卡片將取代舊有的panel,well和thumbnail。與那些元件類似的功能已經都整合到卡片內了

例子

卡片被設計成盡可能的少用一些標記和樣式,但它仍然可以提供許多的控件和自定義。使用flexbox構建,它們可以更方便的對齊,并與其它的Bootstrap元件良好混合。預設中它并沒有margin,所以可以依需求加入spacing通用類別。

以下是一個具有混合內容和固定寬度的基本卡片示例。卡片如果沒有固定的寬度,那么它們將自然填充其父元素的全部寬度。這可以透過我們的各種縮放選項輕松調整。

Placeholder Image cap
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere
<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

內容類型

卡片支持各種內容,包含圖片、文字、清單群組、連接等。以下為卡片支持的示例。

主體

卡片的構造塊是.card-body。當你需要卡片中的填充部分時就使用它。

This is some text within a card body.
<div class="card">
<div class="card-body">
This is some text within a card body.
</div>
</div>

<h*>標簽中添加.card-title以使用卡片標題。同樣的,在a標簽中加入.card-link并使連接彼此相鄰。

<h*>標簽中加入.card-subtitle以使用副標題。如果.card-title以及.card-subtitle元件被放在card-body里面,它們將會對齊良好。

Card title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card link Another link
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div>
</div>

圖片

設定.card-img-top將會把圖片放在卡片的頂部。使用.card-text可以將文字內容可以添加到卡片中。.card-text中的文本也可以用標準的HTML標簽設計樣式。

Placeholder Image cap

Some quick example text to build on the card title and make up the bulk of the card's content.

<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>

列表群組

使用list-group-flush在卡片內建立列表群組。

  • An item
  • A second item
  • A third item
<div class="card" style="width: 18rem;">
<ul class="list-group list-group-flush">
<li class="list-group-item">An item</li>
<li class="list-group-item">A second item</li>
<li class="list-group-item">A third item</li>
</ul>
</div>
Featured
  • An item
  • A second item
  • A third item
<div class="card" style="width: 18rem;">
<div class="card-header">
Featured
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">An item</li>
<li class="list-group-item">A second item</li>
<li class="list-group-item">A third item</li>
</ul>
</div>
  • An item
  • A second item
  • A third item
<div class="card" style="width: 18rem;">
<ul class="list-group list-group-flush">
<li class="list-group-item">An item</li>
<li class="list-group-item">A second item</li>
<li class="list-group-item">A third item</li>
</ul>
<div class="card-footer">
Card footer
</div>
</div>

混合樣式

混合并搭配多個內容形式,用來創建你所需要的卡片。以下示例將圖片樣式、塊、文字樣式以及列表群組全部包裝在一個固定寬度的卡片中。

Placeholder Image cap
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

  • An item
  • A second item
  • A third item
<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">An item</li>
<li class="list-group-item">A second item</li>
<li class="list-group-item">A third item</li>
</ul>
<div class="card-body">
<a href="#" class="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div>
</div>

在卡片內添加選擇性的頁首和/或頁尾。

Featured
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card">
<div class="card-header">
Featured
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

卡片頁首的樣式可以透過在<h*>元素添加.card-header來調整。

Featured
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card">
<h5 class="card-header">Featured</h5>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
Quote

A well-known quote, contained in a blockquote element.

Someone famous in Source Title
<div class="card">
<div class="card-header">
Quote
</div>
<div class="card-body">
<blockquote class="blockquote mb-0">
<p>A well-known quote, contained in a blockquote element.</p>
<footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>
</div>
</div>
Featured
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card text-center">
<div class="card-header">
Featured
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
<div class="card-footer text-muted">
2 days ago
</div>
</div>

大小

卡片預設沒有特定的起始width,除非另有聲明,否則它們的寬度將是100%。可以根據需求,透過自定義CSS、網格系統、Sass mixins grid或通用類別來調整。

使用網格

使用網格,根據需要在列和行中包裝卡片。

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="row">
<div class="col-sm-6">
<div class="card">
<div class="card-body">
  <h5 class="card-title">Special title treatment</h5>
  <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
  <a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="card">
<div class="card-body">
  <h5 class="card-title">Special title treatment</h5>
  <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
  <a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>

使用通用類別

使用我們的幾個可調整大小的通用類來快速設置卡片的寬度。

Card title

With supporting text below as a natural lead-in to additional content.

Button
Card title

With supporting text below as a natural lead-in to additional content.

Button
<div class="card w-75">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Button</a>
</div>
</div>

<div class="card w-50">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Button</a>
</div>
</div>

使用自定義CSS

在樣式表中使用自定義的CSS或使用行內樣式設置寬度。

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

文字對齊

可以透過文字對齊類別更改任何卡片的整體或特定部分的文本對齊方式。

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

<div class="card text-center" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

<div class="card text-end" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

使用Bootstrap的導航組件在卡片的頁首(或塊)添加一些導航。

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card text-center">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs">
<li class="nav-item">
  <a class="nav-link active" aria-current="true" href="#">Active</a>
</li>
<li class="nav-item">
  <a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
  <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
</li>
</ul>
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
<div class="card text-center">
<div class="card-header">
<ul class="nav nav-pills card-header-pills">
<li class="nav-item">
  <a class="nav-link active" href="#">Active</a>
</li>
<li class="nav-item">
  <a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
  <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
</li>
</ul>
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>

圖像

卡片包含一些用來處理圖片的選項。選擇在卡片的任一端附加“image caps”,用卡片內容覆蓋圖片,或者只是將圖象嵌入到卡中。

Image caps

與頁首或頁尾相似,卡片可以包含頂部或是底部的“Image caps”,即圖片是位于卡片的頂部或是底部。

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Placeholder Image cap
<div class="card mb-3">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
<img src="..." class="card-img-bottom" alt="...">
</div>

圖像重載

將圖片轉換為卡片背景,并疊加卡片的文字。根據圖片,你可以選擇是否需要額外的樣式或通用類別。

Placeholder Card image
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

<div class="card bg-dark text-white">
<img src="..." class="card-img" alt="...">
<div class="card-img-overlay">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<p class="card-text">Last updated 3 mins ago</p>
</div>
</div>
請注意,內容不應大于圖片的高度。如果內容大于圖片,則內容將顯示在圖片外面。

水平

結合使用網格以及通用類別,可以讓卡片以行動友善且響應式的方法呈現水平狀態。在下面的示例中,我們使用.g-0移除網格的間隙,并使用.col-md-*類別讓卡片在md斷點之后呈現水平。根據卡片內容,將可能會需要一些額外的調整。

Placeholder Image
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

<div class="card mb-3" style="max-width: 540px;">
<div class="row g-0">
<div class="col-md-4">
<img src="..." alt="...">
</div>
<div class="col-md-8">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
  <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
</div>
</div>

卡片樣式

卡片包含許多用來自定義背景、邊框、顏色的選項。

背景和顏色

使用文字和背景通用類別來改變卡片的外觀。

Header
Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

<div class="card text-white bg-primary mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Primary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-white bg-secondary mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Secondary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-white bg-success mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-white bg-danger mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Danger card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-dark bg-warning mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Warning card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-dark bg-info mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Info card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-dark bg-light mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Light card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card text-white bg-dark mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Dark card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
Conveying meaning to assistive technologies

Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class.

邊框

使用邊框通用類別來改變卡片的border-color。你也能在.card父層設置.text-{color}類別,或是如以下示例設置在卡片內容的子集當中。

Header
Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header
Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

<div class="card border-primary mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body text-primary">
<h5 class="card-title">Primary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-secondary mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body text-secondary">
<h5 class="card-title">Secondary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-success mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body text-success">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-danger mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body text-danger">
<h5 class="card-title">Danger card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-warning mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Warning card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-info mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Info card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-light mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Light card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<div class="card border-dark mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body text-dark">
<h5 class="card-title">Dark card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>

Mixin通用類

也可以依照需求更改卡片頁首、頁尾的邊框,并能使用bg-transparent來移除它們的background-color。

Header
Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

<div class="card border-success mb-3" style="max-width: 18rem;">
<div class="card-header bg-transparent border-success">Header</div>
<div class="card-body text-success">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<div class="card-footer bg-transparent border-success">Footer</div>
</div>

卡片布局

除了對卡片內容進行樣式設計以外,Bootstrap還提供一些用于卡片排版的選項。目前為止,這些排版選項還不是響應式的。

卡片組

使用卡片群組將一系列卡片呈現為具有等寬、高字段的單一、連接元素。卡片群組由堆疊開始,并透過display: flex;從sm的斷點后開始以統一的尺寸相連接。

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

Placeholder Image cap
Card title

This card has supporting text below as a natural lead-in to additional content.

Last updated 3 mins ago

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

Last updated 3 mins ago

<div class="card-group">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
</div>

當在卡片群組使用頁尾,它們的內容將會自動對齊。

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This card has supporting text below as a natural lead-in to additional content.

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

<div class="card-group">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>

網格卡片

使用Bootstrap的網格系統以及.row-cols類別來控制每行應該顯示多少網格欄(用于包裝卡片)。以下面的例子來說,.row-cols-1將卡片布置為一欄,而.row-cols-md-2將會從md的斷點后開始將四個卡片設置為等寬、跨多行。

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

<div class="row row-cols-1 row-cols-md-2 g-4">
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
</div>

更改為.row-cols-3,則會看到第四張卡片被換行。

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
</div>

如果需要相等高度時,把.h-100添加于卡片上。如果希望卡片預設就是等高,可以在Sass設置$card-height: 100%。

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This is a short card.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content.

Placeholder Image cap
Card title

This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a short card.</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
</div>
</div>

如同卡片群組,卡片頁尾也會自動對齊。

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Placeholder Image cap
Card title

This card has supporting text below as a natural lead-in to additional content.

Placeholder Image cap
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
<div class="card-footer">
  <small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
</div>
<div class="card-footer">
  <small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
  <h5 class="card-title">Card title</h5>
  <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
</div>
<div class="card-footer">
  <small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>
</div>

Masonry

在v4版本我們僅使用CSS技術來模仿Masonry字段效果,但這樣的技術帶來了許多不愉快的副作用。如果你想要在v5中使用這種排版,則可以使用Masonry的插件。Mansory并沒有被包括于Bootstrap,但我們有制作一個demo示例來幫助你開始使用它。

Sass

Variables

$card-spacer-y:                     $spacer;
$card-spacer-x:                     $spacer;
$card-title-spacer-y:               $spacer / 2;
$card-border-width:                 $border-width;
$card-border-radius:                $border-radius;
$card-border-color:                 rgba($black, .125);
$card-inner-border-radius:          subtract($card-border-radius, $card-border-width);
$card-cap-padding-y:                $card-spacer-y / 2;
$card-cap-padding-x:                $card-spacer-x;
$card-cap-bg:                       rgba($black, .03);
$card-cap-color:                    null;
$card-height:                       null;
$card-color:                        null;
$card-bg:                           $white;
$card-img-overlay-padding:          $spacer;
$card-group-margin:                 $grid-gutter-width / 2;
返回頂部
亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮
<span id="fu32q"></span>
    1. <li id="fu32q"><meter id="fu32q"><th id="fu32q"></th></meter></li>
      极品少妇一区二区| 国产精品一区在线| 麻豆国产精品官网| 国产美女精品人人做人人爽| 97久久超碰精品国产| 精品无人码麻豆乱码1区2区| 成人av资源在线观看| 麻豆精品新av中文字幕| 成人污视频在线观看| 蜜桃一区二区三区在线| 成人av网在线| 极品少妇xxxx精品少妇| 91色porny在线视频| 国产成人在线视频播放| 免费视频一区二区| 成人精品国产免费网站| 国产中文字幕精品| 男人的j进女人的j一区| 不卡av在线免费观看| 国产在线视视频有精品| 天堂久久久久va久久久久| 国产福利电影一区二区三区| 麻豆成人久久精品二区三区红| 成人h精品动漫一区二区三区| 国产精品自拍毛片| 激情综合网av| 喷水一区二区三区| 日韩精品一二三四| 9色porny自拍视频一区二区| 国产成a人亚洲精品| 国产综合色视频| 精品制服美女丁香| 久久精品国产亚洲a| 成人丝袜18视频在线观看| 国内精品久久久久影院一蜜桃| 日韩中文欧美在线| av一区二区三区四区| 国产精品一级二级三级| 国模少妇一区二区三区| 久久国产精品72免费观看| 日韩成人精品在线| 99久久精品一区二区| 成人不卡免费av| 国产盗摄女厕一区二区三区 | 久久精品国产一区二区三 | 国产91在线看| 免费在线观看成人| 国产成人精品一区二区三区四区| 久久精品国产亚洲aⅴ | 91在线精品一区二区三区| 顶级嫩模精品视频在线看| 国产成人免费视频| 国产白丝精品91爽爽久久| 国产成人综合亚洲91猫咪| 国产精品亚洲人在线观看| 韩日欧美一区二区三区| 国产揄拍国内精品对白| 国产成人综合在线播放| 不卡的av在线| 天堂蜜桃91精品| 日韩精品一区第一页| 日韩av电影天堂| 久久国产精品99久久人人澡| 另类人妖一区二区av| 激情综合网最新| 懂色av一区二区夜夜嗨| 91色.com| 国产自产视频一区二区三区| 粉嫩嫩av羞羞动漫久久久 | 成人免费视频视频在线观看免费 | 成人黄色av电影| 91亚洲大成网污www| 麻豆精品国产传媒mv男同| 激情图区综合网| 丁香婷婷综合激情五月色| 91视频一区二区| 久久国产剧场电影| 不卡av在线免费观看| 蜜臀99久久精品久久久久久软件| 国产九九视频一区二区三区| aaa国产一区| 国产在线播放一区三区四| 播五月开心婷婷综合| 看片网站欧美日韩| 成人ar影院免费观看视频| 日韩精品91亚洲二区在线观看| 久久99久国产精品黄毛片色诱| 国产aⅴ综合色| 青青草97国产精品免费观看无弹窗版| 国产一区二区三区免费播放| 91天堂素人约啪| 国产精品123| 日本 国产 欧美色综合| 高清日韩电视剧大全免费| 麻豆精品久久久| 91网站黄www| 处破女av一区二区| 国产在线视频不卡二| 91蜜桃婷婷狠狠久久综合9色| 国内久久婷婷综合| 日日夜夜免费精品| 成人精品一区二区三区中文字幕| 久久精品国产一区二区三| hitomi一区二区三区精品| 国产一区二区91| 老色鬼精品视频在线观看播放| 91丨九色丨黑人外教| 国产经典欧美精品| 秋霞电影网一区二区| 国产精品正在播放| 久久精品99国产精品日本| 99国产精品久久久久久久久久| 国内外成人在线视频| 视频一区国产视频| www.99精品| 成人avav在线| 成人免费黄色大片| 国产在线精品国自产拍免费| 久久精品国产精品亚洲综合| 91麻豆免费在线观看| 不卡免费追剧大全电视剧网站| 国产高清精品网站| 国产精品中文字幕日韩精品| 精品亚洲免费视频| 国产毛片精品视频| 国产一区二区三区免费播放| 国产乱一区二区| 国产精品正在播放| 成人性生交大片免费看中文| 成人国产在线观看| thepron国产精品| 大白屁股一区二区视频| 成人免费毛片a| 99精品视频一区二区三区| av在线一区二区| 91视频国产资源| 日本美女视频一区二区| 免费在线一区观看| 国内精品久久久久影院色| 国产美女视频一区| 成人一区二区三区| av男人天堂一区| 日韩avvvv在线播放| 琪琪一区二区三区| 精品一区二区三区视频在线观看| 国产一区欧美一区| 风间由美性色一区二区三区| 99久精品国产| 免播放器亚洲一区| 国产一区二三区| 国产高清不卡一区| heyzo一本久久综合| 免费观看在线色综合| 国产一区二区剧情av在线| 懂色av一区二区三区蜜臀| 99视频热这里只有精品免费| 视频一区二区国产| 韩国毛片一区二区三区| 成人涩涩免费视频| 久久99久国产精品黄毛片色诱| 国产精品1区二区.| 日韩精品亚洲专区| 成人免费视频视频| 久久99国产精品成人| 高清不卡一区二区| 蜜桃av一区二区在线观看| 国产宾馆实践打屁股91| 青青草伊人久久| 成人av在线网| 久久电影国产免费久久电影| 成人精品电影在线观看| 久久99精品一区二区三区| 97久久人人超碰| 国产乱一区二区| 美女网站在线免费欧美精品| 高清成人在线观看| 精品一区二区三区香蕉蜜桃| 91麻豆国产福利在线观看| 国产麻豆成人精品| 久色婷婷小香蕉久久| 91免费版在线| 不卡高清视频专区| 国产高清久久久| 韩国成人精品a∨在线观看| 99久久99久久免费精品蜜臀| 国产成人精品亚洲午夜麻豆| 久久99精品一区二区三区| 日韩经典一区二区| 99久久精品免费看国产| 国产黑丝在线一区二区三区| 韩国视频一区二区| 久久91精品久久久久久秒播| 91社区在线播放| 99re在线精品| 9色porny自拍视频一区二区| 丁香五精品蜜臀久久久久99网站| 国产精品白丝jk黑袜喷水| 精品亚洲国产成人av制服丝袜| 蜜桃av一区二区三区| 日韩成人免费电影| 日本视频在线一区| 91麻豆国产在线观看| 91网上在线视频| 91麻豆成人久久精品二区三区| 成人av网在线| 9人人澡人人爽人人精品| 91网站最新网址| 不卡的看片网站| 国产成人8x视频一区二区| 极品少妇一区二区三区精品视频 | 国产真实乱子伦精品视频| 美腿丝袜在线亚洲一区| 麻豆精品一区二区三区| 久久国产精品99久久久久久老狼| 麻豆精品视频在线观看| 久久精品国产秦先生| 精品一区二区三区免费播放| 黑人巨大精品欧美一区| 国产一区 二区 三区一级| 国产成人av电影在线观看| 成人永久免费视频| 91小视频在线观看| 久久精品国产精品亚洲红杏| 精品在线一区二区| 国产激情一区二区三区四区 | 久久www免费人成看片高清| 激情成人综合网| 国产成人精品影院| av在线不卡电影| 美腿丝袜在线亚洲一区| 国产一区二区导航在线播放| 成人听书哪个软件好| 日韩综合小视频| 精品影视av免费| 福利视频网站一区二区三区| 91丝袜高跟美女视频| 久久国产精品色婷婷| 国产99精品国产| 日韩va亚洲va欧美va久久| 激情亚洲综合在线| av色综合久久天堂av综合| 免费看欧美女人艹b| 国产一区二区91| 日韩经典中文字幕一区| 韩国精品在线观看| 99国内精品久久| 麻豆国产91在线播放| 成人视屏免费看| 久久国产精品99精品国产| 岛国av在线一区| 久久国产乱子精品免费女| gogogo免费视频观看亚洲一| 久久99精品国产91久久来源| 不卡大黄网站免费看| 极品美女销魂一区二区三区免费| 成人午夜短视频| 九九九久久久精品| 日韩在线观看一区二区| 国产ts人妖一区二区| 麻豆精品一二三| 99久久99久久精品免费看蜜桃| 国精产品一区一区三区mba视频| 99久久久国产精品免费蜜臀| 国产乱码精品一区二区三区忘忧草| 日日噜噜夜夜狠狠视频欧美人| 国产精品一区二区x88av| 91毛片在线观看| 丁香天五香天堂综合| 国产一区二区美女| 久久精品国产在热久久| 水蜜桃久久夜色精品一区的特点| 国产精品自拍在线| 日本特黄久久久高潮| 成人激情小说网站| 国产福利视频一区二区三区| 久久99精品视频| 男人的j进女人的j一区| 91日韩在线专区| 成人高清伦理免费影院在线观看| 国产乱理伦片在线观看夜一区| 美女网站在线免费欧美精品| 日本一不卡视频| www.欧美精品一二区| 国产不卡视频一区| 国产一区二区三区av电影| 国精产品一区一区三区mba视频| 另类小说综合欧美亚洲| 日本伊人午夜精品| 免费观看在线色综合| 日韩精品1区2区3区| 成人网在线免费视频| 国产另类ts人妖一区二区| 国产一区激情在线| 国产精品一区三区| 国产高清一区日本| 成人黄色国产精品网站大全在线免费观看 | 国产99精品视频| 国产东北露脸精品视频| 国产精品一区二区黑丝| 国产不卡在线一区| 成人国产精品免费网站| 成人激情午夜影院| 91丨porny丨中文| 奇米精品一区二区三区四区 | 日本大胆欧美人术艺术动态| 99综合电影在线视频| 95精品视频在线| 男人的天堂亚洲一区| 日本在线不卡视频一二三区| 蜜臀av一级做a爰片久久| 久久精品国产秦先生| 国产精品资源网站| 成人久久18免费网站麻豆| 91麻豆免费看片| 看片网站欧美日韩| 国产不卡在线一区| 91碰在线视频| 久久99久久久久久久久久久| 国产精品18久久久| 视频在线在亚洲| 精品一区二区三区在线播放视频| 国产成人亚洲精品青草天美| 成人精品在线视频观看| 欧美a一区二区| 国产成人在线色| 视频一区二区三区在线| 国产在线精品国自产拍免费| av中文字幕不卡| 精品影院一区二区久久久| 成人av电影免费在线播放| 另类小说一区二区三区| 成人激情动漫在线观看| 美国av一区二区| aaa欧美色吧激情视频| 激情综合网激情| 91在线观看一区二区| 韩国一区二区视频| 日日噜噜夜夜狠狠视频欧美人| 国产综合色在线| 天堂成人免费av电影一区| 国产一区二区三区在线观看免费| 不卡的av电影在线观看| 国内一区二区视频| 日韩国产成人精品| 国产91高潮流白浆在线麻豆| 久久国产精品第一页| 99re热视频精品| 国产成+人+日韩+欧美+亚洲| 日本欧美久久久久免费播放网| 国产激情一区二区三区桃花岛亚洲| 日韩不卡一区二区三区| 不卡大黄网站免费看| 国产在线不卡视频| 美女任你摸久久| 99国产精品一区| 成人免费av在线| 国产精品99久久久| 久久国产成人午夜av影院| 日韩黄色一级片| 成人免费毛片a| 国产成人在线看| 国产一区视频在线看| 六月丁香综合在线视频| 日韩高清不卡一区二区三区| 不卡视频在线看| 成人h版在线观看| 成人天堂资源www在线| 国产盗摄一区二区三区| 国产精品亚洲一区二区三区在线| 精品一区二区三区蜜桃| 麻豆成人免费电影| 另类综合日韩欧美亚洲| 美腿丝袜一区二区三区| 美女精品自拍一二三四| 蜜臀国产一区二区三区在线播放| 日韩中文字幕麻豆| 91在线小视频| 91蜜桃网址入口| 日韩精品电影在线| 日本中文字幕一区二区视频 | 激情六月婷婷久久| 久久99精品久久久久久国产越南| 蜜臀av性久久久久av蜜臀妖精| 蜜臀精品久久久久久蜜臀| 美女久久久精品| 激情图片小说一区| 国产一区二区三区综合| 国产老女人精品毛片久久| 国产suv精品一区二区三区| 成人教育av在线| 99热国产精品| 日韩激情av在线| 久久99久久99| 国产91综合一区在线观看| 成人18视频日本| 日韩二区三区四区| 国产尤物一区二区| 成人精品gif动图一区| 91视频.com| 韩国一区二区三区|