Bootstrap Lead 短代碼

使段落脫穎而出的短代碼。

贊助

成為我們的資助者或贊助商,以支持我們的工作。

本頁內容

贊助商

語法

1{{% bs/lead %}}
2PARAGRAPH
3{{% /bs/lead %}}

參數

class

索引名稱類型必填默認值版本示例
#0classstring----

額外 CSS 類名。

示例

源碼
 1This is a regular paragraph for comparison with lead paragraphs.
 2
 3{{% bs/lead %}}
 4This is a lead paragraph. It stands out from regular paragraphs.
 5{{% /bs/lead %}}
 6
 7{{% bootstrap/lead %}}
 8This is another lead paragraph. It stands out from regular paragraphs.
 9{{% /bootstrap/lead %}}
10
11{{% bs/lead class="text-primary" %}}
12This is another lead paragraph with extra classes.
13{{% /bs/lead %}}
結果
This is a regular paragraph for comparison with lead paragraphs.

This is a lead paragraph. It stands out from regular paragraphs.

This is another lead paragraph. It stands out from regular paragraphs.

This is another lead paragraph with extra classes.