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

文字排版(Typography)

Bootstrap排版的文檔和示例,包括全局設(shè)置、標(biāo)題、正文、列表等。

全局設(shè)置

Bootstrap設(shè)定基本的全局顯示、文字排版和連接樣式。當(dāng)需要更多的控制時(shí),查看 文本通用類

  • 為每個(gè)操作系統(tǒng)和設(shè)備標(biāo)明最佳font-family的原生字體堆疊。
  • 為了更具包容性和可訪問性,我們使用瀏覽器的默認(rèn)根字體大小(通常為16px),以便訪問者可以根據(jù)需要自定義瀏覽器的默認(rèn)值。
  • 使用$font-family-base、$font-size-base和$line-height-base屬性作為應(yīng)用于<body>的排版基礎(chǔ)。
  • 通過$link-color設(shè)置全局鏈接顏色。
  • 使用$body-bg在<body>上設(shè)置背景色(默認(rèn)情況下為#fff)。

這些樣式可以在中找到_reboot.scss,全局變量在中定義_variables.scss. 確保在rem中設(shè)置$font size base。

標(biāo)題

所有的HTML標(biāo)題,<h1><h6>,都是可用的。

Heading Example
<h1></h1> h1. Bootstrap heading
<h2></h2> h2. Bootstrap heading
<h3></h3> h3. Bootstrap heading
<h4></h4> h4. Bootstrap heading
<h5></h5> h5. Bootstrap heading
<h6></h6> h6. Bootstrap heading
<h1>h1. Bootstrap heading</h1>
<h2>h2. Bootstrap heading</h2>
<h3>h3. Bootstrap heading</h3>
<h4>h4. Bootstrap heading</h4>
<h5>h5. Bootstrap heading</h5>
<h6>h6. Bootstrap heading</h6>

.h1到.h6類也可用,用于當(dāng)您希望匹配標(biāo)題的字體樣式但無法使用關(guān)聯(lián)的HTML元素時(shí)。

h1. Bootstrap heading

h2. Bootstrap heading

h3. Bootstrap heading

h4. Bootstrap heading

h5. Bootstrap heading

h6. Bootstrap heading

<p class="h1">h1. Bootstrap heading</p>
<p class="h2">h2. Bootstrap heading</p>
<p class="h3">h3. Bootstrap heading</p>
<p class="h4">h4. Bootstrap heading</p>
<p class="h5">h5. Bootstrap heading</p>
<p class="h6">h6. Bootstrap heading</p>

自定義標(biāo)題

使用通用類重現(xiàn)Bootstrap 3.0中的小標(biāo)題文本。

Fancy display heading With faded secondary text

<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>

顯示標(biāo)題

一般的標(biāo)題元素能在頁面內(nèi)容繁多時(shí)發(fā)揮最佳作用。當(dāng)你需要突出一個(gè)標(biāo)題時(shí),請考慮使用display heading以獲得更大、更細(xì)、稍具有風(fēng)格化的標(biāo)題樣式。

Display 1
Display 2
Display 3
Display 4
Display 5
Display 6
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>

顯示標(biāo)題通過$display-font-sizes Sass map和兩個(gè)變量配置,$display-font-weight$display-line-height

$display-font-sizes: (
1: 5rem,
2: 4.5rem,
3: 4rem,
4: 3.5rem,
5: 3rem,
6: 2.5rem
);

$display-font-weight: 300;
$display-line-height: $headings-line-height;

前導(dǎo)主題

使用.lead讓一個(gè)段落脫穎而出。

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

<p class="lead">
This is a lead paragraph. It stands out from regular paragraphs.
</p>

內(nèi)聯(lián)文本元素

常見內(nèi)聯(lián)HTML5元素的樣式。

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined.

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

<p>You can use the mark tag to <mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined.</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p><em>This line rendered as italicized text.</em></p>

請注意,這些標(biāo)記應(yīng)用于語義目的:

  • <mark> 表示為參考或注釋目的而標(biāo)記或突出顯示的文本。
  • <small> 表示旁注和小字體,如版權(quán)和法律文本。
  • <s> 表示不再相關(guān)或不再準(zhǔn)確的元素。
  • <u> 表示內(nèi)聯(lián)文本的范圍,該范圍應(yīng)以指示其具有非文本注釋的方式呈現(xiàn)。

如果要設(shè)置文本樣式,應(yīng)改用以下類:

  • .mark 將應(yīng)用與 <mark>相同的樣式。
  • .small 將應(yīng)用與<small>相同的樣式。
  • .text-decoration-underline 修飾下劃線將應(yīng)用與<u>相同的樣式。
  • .text-decoration-line-through 裝飾線條將應(yīng)用與<s>相同的樣式。

雖然上面沒有顯示,但是可以在HTML5中隨意使用 <b> and <i> 用來突出單詞或短語而不傳達(dá)額外的重要性,而<i> 主要用于語音、技術(shù)術(shù)語等。

文本通用類

使用我們的文本工具和顏色工具更改文本對齊、轉(zhuǎn)換、樣式、權(quán)重、行高、裝飾和顏色。 文本工具 and 顏色工具.

縮寫

對縮寫和字母前綴縮寫使用HTML<abbr> 元素以Hover方式顯示縮寫的擴(kuò)增內(nèi)容。縮寫具有預(yù)設(shè)的底線和說明光標(biāo),通過懸停和輔助性技術(shù)幫助使用者提供額外的內(nèi)容。

縮寫字加入.initialism可將字體略為縮小。

attr

HTML

<p><abbr title="attribute">attr</abbr></p>
<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></p>

引用

用于引用文檔中其他來源的內(nèi)容塊。將<blockquote class="blockquote"> 環(huán)繞任何HTML作為引號(hào)。

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

<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>

引用來源

HTML規(guī)范要求將blockquote歸屬于 <blockquote>之外。當(dāng)提供來源歸屬,需要將 <blockquote>包在<figure>之內(nèi),并且使用<figure>和加上 .blockquote-footer class. Be sure to wrap the name of the source work in <cite> as 類的<figcaption>或是一個(gè)內(nèi)存塊元素(例如:

)。還要確保將來源的名稱包在中。

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

<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>

對齊

使用文字通用類來更改blockquote的對齊方式。

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

<figure class="text-center">
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>

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

<figure class="text-end">
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>

列表

無樣式

刪除列表項(xiàng)的默認(rèn)列表樣式和左邊距(僅限直接子項(xiàng))。這只適用于直接子列表項(xiàng),這意味著您還需要為任何嵌套列表添加類。

  • This is a list.
  • It appears completely unstyled.
  • Structurally, it's still a list.
  • However, this style only applies to immediate child elements.
  • Nested lists:
    • are unaffected by this style
    • will still show a bullet
    • and have appropriate left margin
  • This may still come in handy in some situations.
<ul class="list-unstyled">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>

內(nèi)聯(lián)

移除了列表編號(hào)并增加些許margin,結(jié)合使用.list-inline和.list-inline-item。

  • This is a list item.
  • And another one.
  • But they're displayed inline.
<ul class="list-inline">
<li class="list-inline-item">This is a list item.</li>
<li class="list-inline-item">And another one.</li>
<li class="list-inline-item">But they're displayed inline.</li>
</ul>

描述型列表對齊

通過使用我們網(wǎng)格系統(tǒng)定義的類別(或是語意mixins)將項(xiàng)目和說明水平對齊。對于較長的術(shù)語,你可選擇性加上.text-truncate來用…取代多余內(nèi)容。

Description lists
A description list is perfect for defining terms.
Term

Definition for the term.

And some more placeholder definition text.

Another term
This definition is short, so no extra paragraphs or anything.
Truncated term is truncated
This can be useful when space is tight. Adds an ellipsis at the end.
Nesting
Nested definition list
I heard you like definition lists. Let me put a definition list inside your definition list.
<dl class="row">
<dt class="col-sm-3">Description lists</dt>
<dd class="col-sm-9">A description list is perfect for defining terms.</dd>

<dt class="col-sm-3">Term</dt>
<dd class="col-sm-9">
<p>Definition for the term.</p>
<p>And some more placeholder definition text.</p>
</dd>

<dt class="col-sm-3">Another term</dt>
<dd class="col-sm-9">This definition is short, so no extra paragraphs or anything.</dd>

<dt class="col-sm-3 text-truncate">Truncated term is truncated</dt>
<dd class="col-sm-9">This can be useful when space is tight. Adds an ellipsis at the end.</dd>

<dt class="col-sm-3">Nesting</dt>
<dd class="col-sm-9">
<dl class="row">
<dt class="col-sm-4">Nested definition list</dt>
<dd class="col-sm-8">I heard you like definition lists. Let me put a definition list inside your definition list.</dd>
</dl>
</dd>
</dl>

響應(yīng)字體大小

在bootstrap5中,我們默認(rèn)啟用了響應(yīng)字體大小,允許文本在設(shè)備和視口大小之間更自然地縮放。查看RFS頁面以了解其工作原理。

Sass

Variables

標(biāo)題有一些用于調(diào)整大小和間距的專用變量。

$headings-margin-bottom:      $spacer / 2;
$headings-font-family:        null;
$headings-font-style:         null;
$headings-font-weight:        500;
$headings-line-height:        1.2;
$headings-color:              null;

本文和本文中介紹的各種排版元素也有專用的變量。

$lead-font-size:              $font-size-base * 1.25;
$lead-font-weight:            300;

$small-font-size:             .875em;

$sub-sup-font-size:           .75em;

$text-muted:                  $gray-600;

$initialism-font-size:        $small-font-size;

$blockquote-margin-y:         $spacer;
$blockquote-font-size:        $font-size-base * 1.25;
$blockquote-footer-color:     $gray-600;
$blockquote-footer-font-size: $small-font-size;

$hr-margin-y:                 $spacer;
$hr-color:                    inherit;
$hr-height:                   $border-width;
$hr-opacity:                  .25;

$legend-margin-bottom:        .5rem;
$legend-font-size:            1.5rem;
$legend-font-weight:          null;

$mark-padding:                .2em;

$dt-font-weight:              $font-weight-bold;

$nested-kbd-font-weight:      $font-weight-bold;

$list-inline-padding:         .5rem;

$mark-bg:                     #fcf8e3;

Mixins

沒有專門用于排版的mixin,但是Bootstrap使用響應(yīng)字體大小(RFS)。 Responsive Font Sizing (RFS).

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

      9000px;">

          不卡视频在线看| 色哟哟国产精品免费观看| 不卡大黄网站免费看| 国产亚洲欧美在线| 成人a级免费电影| 亚洲免费观看高清完整版在线| 丰满放荡岳乱妇91ww| 亚洲欧美在线视频| 欧美在线观看视频一区二区三区| 亚洲一二三四久久| 91精品国产福利| 国产精品99久久久久久有的能看| 亚洲色图制服丝袜| 3d动漫精品啪啪一区二区竹菊| 日本va欧美va瓶| 中文字幕精品一区| 精品视频在线免费| 国产黑丝在线一区二区三区| 一区二区三区在线观看欧美 | 美国精品在线观看| 国产欧美日韩卡一| 91黄色激情网站| 久久99国产精品尤物| 一区免费观看视频| 精品国产伦一区二区三区观看体验| www.欧美日韩国产在线| 亚洲第一精品在线| 国产精品区一区二区三区| 91精品国产综合久久福利| 成人永久免费视频| 秋霞电影网一区二区| 综合久久久久久| 久久久99精品免费观看不卡| 欧美巨大另类极品videosbest | 精品国产1区2区3区| 91网址在线看| 国产成人免费在线观看不卡| 亚洲v中文字幕| 亚洲视频中文字幕| 国产亚洲一区字幕| 欧美成人精品1314www| 欧美男男青年gay1069videost| 色婷婷精品久久二区二区蜜臂av| 成人免费视频视频| 国产成人鲁色资源国产91色综| 精品一区二区国语对白| 麻豆91在线观看| 精品一区二区免费| 激情六月婷婷久久| 国产精品综合网| 国产盗摄一区二区| 国产精品1区2区3区在线观看| 激情五月激情综合网| 久久福利资源站| 另类小说一区二区三区| 蜜桃视频在线一区| 韩国成人精品a∨在线观看| 精品一区二区在线看| 美腿丝袜亚洲一区| 老司机一区二区| 国内精品国产成人国产三级粉色 | 国产精品久久久久久久午夜片| 国产一区91精品张津瑜| 欧美a级一区二区| 亚洲一二三四区| 国产精品乱人伦| 国产午夜精品一区二区三区视频| 日韩欧美中文字幕一区| 欧美午夜影院一区| 在线看国产一区二区| 99久久综合99久久综合网站| 久草热8精品视频在线观看| 亚洲一卡二卡三卡四卡五卡| 亚洲欧美国产77777| 国产精品国产三级国产专播品爱网| 亚洲精品一区二区在线观看| 6080国产精品一区二区| 欧美日韩三级一区| 欧美精品18+| 精品国产乱码久久| 国产三区在线成人av| 色视频一区二区| 色综合天天性综合| 99久久久国产精品免费蜜臀| 国产99久久久国产精品潘金| 裸体一区二区三区| 精品一区二区在线视频| 国产成人在线观看| www.成人在线| 欧美又粗又大又爽| 欧美区在线观看| 欧美午夜不卡视频| 久久久九九九九| 色域天天综合网| 欧美精品色综合| 精品粉嫩超白一线天av| 欧美激情资源网| 亚洲第一成年网| 国产一区二区福利| 国产ts人妖一区二区| 在线区一区二视频| 91精品中文字幕一区二区三区| 国产精品电影一区二区| 亚洲一卡二卡三卡四卡| 美女视频黄免费的久久 | 91麻豆国产在线观看| 欧美日韩一区二区三区在线| 日韩一级精品视频在线观看| 国产婷婷色一区二区三区在线| 亚洲免费观看视频| 国内成人精品2018免费看| av福利精品导航| 日韩免费福利电影在线观看| 在线免费观看视频一区| 最近中文字幕一区二区三区| 午夜精品久久久久久不卡8050| 国产精品996| 51精品秘密在线观看| 中文字幕亚洲欧美在线不卡| 免费看精品久久片| 日本乱码高清不卡字幕| 国产亚洲欧美激情| 日韩电影在线一区二区三区| 蜜臀精品久久久久久蜜臀| 久久精品久久99精品久久| 夫妻av一区二区| 欧美电影一区二区| 国产女同互慰高潮91漫画| 亚洲电影一级黄| 91年精品国产| 国产精品国产a级| 国产成人精品免费看| 日韩欧美你懂的| 日韩国产欧美在线播放| 日韩欧美成人激情| 午夜影院久久久| 欧美日韩一区 二区 三区 久久精品| 国产亚洲短视频| 国产精品综合视频| 久久久久久久久久久久久女国产乱| 视频在线观看91| 国产麻豆视频精品| 亚洲欧洲日韩综合一区二区| 国产mv日韩mv欧美| 欧美激情一区二区三区| 国产91露脸合集magnet| 久久精品综合网| eeuss鲁片一区二区三区 | 亚洲综合成人在线视频| 99re8在线精品视频免费播放| 国产色综合一区| av在线播放一区二区三区| 亚洲精品一区在线观看| 国产乱一区二区| 国产日产欧美一区| 免费观看一级欧美片| 日韩视频在线永久播放| 蜜臀av性久久久久蜜臀av麻豆| 91色婷婷久久久久合中文| 日韩avvvv在线播放| 欧美大片在线观看| 国产成人亚洲综合a∨婷婷| 国产精品久久久久久久久免费相片 | 亚洲欧美综合另类在线卡通| av在线综合网| 亚洲一二三区在线观看| 日韩一区二区在线看| 亚洲午夜在线电影| 欧美激情艳妇裸体舞| 91视视频在线观看入口直接观看www| 亚洲欧美成人一区二区三区| 欧美日韩久久不卡| 国产一区二区三区| 亚洲欧美日韩国产手机在线| 成人丝袜高跟foot| 麻豆视频观看网址久久| 日本一区二区在线不卡| 欧美在线免费视屏| 狠狠色丁香婷综合久久| 亚洲欧洲www| 日韩一区二区三区免费看 | 欧美韩日一区二区三区| 在线看国产一区二区| 激情文学综合插| 尤物av一区二区| 久久蜜桃香蕉精品一区二区三区| 欧美日韩国产一区二区三区地区| 国产精品一级二级三级| 有码一区二区三区| 久久久久久久久久久久电影| 一本久道中文字幕精品亚洲嫩| 久久精品国产精品青草| 亚洲黄色小说网站| 精品国产一区二区国模嫣然| 色欧美片视频在线观看在线视频| 久久99国产精品免费| 亚洲自拍欧美精品| 久久久久久电影| 欧美高清视频一二三区 | 日本午夜精品一区二区三区电影|