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

Typography

Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.

Global settings

Bootstrap sets basic global display, typography, and link styles. When more control is needed, check out the textual utility classes.

  • Use a native font stack that selects the best font-family for each OS and device.
  • For a more inclusive and accessible type scale, we use the browser’s default root font-size (typically 16px) so visitors can customize their browser defaults as needed.
  • Use the $font-family-base, $font-size-base, and $line-height-base attributes as our typographic base applied to the <body>.
  • Set the global link color via $link-color.
  • Use $body-bg to set a background-color on the <body> (#fff by default).

These styles can be found within _reboot.scss, and the global variables are defined in _variables.scss. Make sure to set $font-size-base in rem.

Headings

All HTML headings, <h1> through <h6>, are available.

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 through .h6 classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.

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>

Customizing headings

Use the included utility classes to recreate the small secondary heading text from Bootstrap 3.

Fancy display heading With faded secondary text

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

Display headings

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.

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>

Display headings are configured via the $display-font-sizes Sass map and two variables, $display-font-weight and $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;

Lead

Make a paragraph stand out by adding .lead.

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>

Inline text elements

Styling for common inline HTML5 elements.

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>

Beware that those tags should be used for semantic purpose:

  • <mark> represents text which is marked or highlighted for reference or notation purposes.
  • <small> represents side-comments and small print, like copyright and legal text.
  • <s> represents element that are no longer relevant or no longer accurate.
  • <u> represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation.

If you want to style your text, you should use the following classes instead:

  • .mark will apply the same styles as <mark>.
  • .small will apply the same styles as <small>.
  • .text-decoration-underline will apply the same styles as <u>.
  • .text-decoration-line-through will apply the same styles as <s>.

While not shown above, feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance, while <i> is mostly for voice, technical terms, etc.

Text utilities

Change text alignment, transform, style, weight, line-height, decoration and color with our text utilities and color utilities.

Abbreviations

Stylized implementation of HTML’s <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations have a default underline and gain a help cursor to provide additional context on hover and to users of assistive technologies.

Add .initialism to an abbreviation for a slightly smaller font-size.

attr

HTML

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

Blockquotes

For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote"> around any HTML as the quote.

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

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

Naming a source

The HTML spec requires that blockquote attribution be placed outside the <blockquote>. When providing attribution, wrap your <blockquote> in a <figure> and use a <figcaption> or a block level element (e.g., <p>) with the .blockquote-footer class. Be sure to wrap the name of the source work in <cite> as well.

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>

Alignment

Use text utilities as needed to change the alignment of your 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>

Lists

Unstyled

Remove the default list-style and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.

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

Inline

Remove a list’s bullets and apply some light margin with a combination of two classes, .list-inline and .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>

Description list alignment

Align terms and descriptions horizontally by using our grid system’s predefined classes (or semantic mixins). For longer terms, you can optionally add a .text-truncate class to truncate the text with an ellipsis.

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>

Responsive font sizes

In Bootstrap 5, we’ve enabled responsive font sizes by default, allowing text to scale more naturally across device and viewport sizes. Have a look at the RFS page to find out how this works.

Sass

Variables

Headings have some dedicated variables for sizing and spacing.

$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;

Miscellaneous typography elements covered here and in Reboot also have dedicated variables.

$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

There are no dedicated mixins for typography, but Bootstrap does use Responsive Font Sizing (RFS).

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

      精品电影一区| 国产精品久久久久久亚洲调教 | 国产精品国产三级国产普通话三级| 一区二区三区国产| 含羞草久久爱69一区| 欧美午夜精品理论片a级按摩| 久久久久一区二区三区| 在线一区二区三区四区| 伊人狠狠色丁香综合尤物| 国产精品久久久一本精品| 欧美精品久久99久久在免费线| 在线日韩欧美视频| 麻豆国产精品一区二区三区| 国产精品久久久一区麻豆最新章节| 9久草视频在线视频精品| 国产视频丨精品|在线观看| 欧美精品三级日韩久久| 久久久久久日产精品| 亚洲综合激情| 亚洲天堂网在线观看| 亚洲精品在线免费| 在线欧美影院| 国语精品中文字幕| 国产精品一区在线播放| 欧美午夜国产| 国产精品福利影院| 国产精品video| 欧美午夜精品久久久| 欧美三级视频在线播放| 欧美日韩一区二区三区四区在线观看 | 欧美成人资源网| 久久久精品国产一区二区三区| 午夜精品福利在线| 亚洲欧美伊人| 久久er精品视频| 久久精品久久99精品久久| 性做久久久久久久久| 欧美在线3区| 久久亚洲捆绑美女| 蘑菇福利视频一区播放| 欧美美女视频| 欧美日韩亚洲视频一区| 国产精品美腿一区在线看| 国产精品羞羞答答xxdd| 国内精品久久国产| 1000部国产精品成人观看| 亚洲国内精品在线| 一本久道久久久| 午夜在线观看欧美| 久久综合精品国产一区二区三区| 久久综合精品一区| 欧美午夜精品伦理| 国产区二精品视| 91久久综合亚洲鲁鲁五月天| 亚洲乱码国产乱码精品精可以看 | 美女91精品| 欧美日韩国产精品一卡| 国产精自产拍久久久久久| 亚洲电影免费在线观看| 亚洲开发第一视频在线播放| 亚洲欧美另类国产| 免费成人黄色片| 国产美女一区| 亚洲人体大胆视频| 欧美一区二视频| 欧美国产精品久久| 国产情人节一区| 99国产精品久久久| 狼人社综合社区| 国产精品理论片在线观看| 在线观看91精品国产麻豆| 亚洲永久字幕| 欧美另类女人| 精品成人在线视频| 欧美一区三区三区高中清蜜桃 | 亚洲国产精品久久| 欧美一区二区三区视频免费| 欧美黑人在线播放| 一区在线播放视频| 欧美一区二区三区在线视频 | 欧美理论视频| 亚洲黄色成人久久久| 久久精品理论片| 国产久一道中文一区| 亚洲午夜女主播在线直播| 欧美福利一区二区三区| 激情久久久久久久久久久久久久久久| 亚洲一区二区在线看| 欧美精品一区三区| 亚洲成在线观看| 久久久噜噜噜久久人人看| 国产一区二区成人久久免费影院| 亚洲综合首页| 欧美性一区二区| 在线播放精品| 久久久久久精| 国产女精品视频网站免费| 中国av一区| 国产精品jvid在线观看蜜臀| 日韩亚洲欧美中文三级| 欧美日韩国产91| 一本色道久久综合亚洲精品按摩| 欧美国产第一页| 日韩视频欧美视频| 欧美私人啪啪vps| 一本大道av伊人久久综合| 欧美日韩国产不卡在线看| 一区二区av在线| 欧美日韩一区二区在线视频 | 国内精品久久久久影院薰衣草| 欧美一级大片在线观看| 伊大人香蕉综合8在线视| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲第一二三四五区| 欧美激情久久久| 亚洲午夜久久久久久尤物| 国产精品一区二区你懂得| 久久国产精品99久久久久久老狼| 国产一区二区三区在线观看视频 | 国产精品美女久久久久av超清| 亚洲综合国产激情另类一区| 国产亚洲观看| 乱中年女人伦av一区二区| 日韩视频在线播放| 国产精品乱码人人做人人爱| 久久国产精品毛片| 亚洲精品国产日韩| 国产精品都在这里| 久久嫩草精品久久久精品一| 亚洲韩国一区二区三区| 国产精品qvod| 久久一日本道色综合久久| 日韩视频一区二区在线观看 | 亚洲国产精品久久91精品| 国产精品成人一区二区三区夜夜夜| 欧美在线观看视频| 亚洲精品乱码久久久久久黑人 | 亚洲天堂av在线免费| 激情久久久久| 国产精品二区三区四区| 久久婷婷麻豆| 亚洲一级黄色av| 亚洲福利在线看| 国产伦精品一区二区三区照片91 | 国产在线观看91精品一区| 欧美激情精品| 久久精品伊人| 香蕉免费一区二区三区在线观看 | 欧美韩日一区二区| 久久久91精品国产一区二区精品| 亚洲天堂成人| 亚洲欧洲一区二区三区| 一区二区亚洲| 国产亚洲欧美日韩日本| 国产精品ⅴa在线观看h| 欧美3dxxxxhd| 久久一区二区三区av| 久久精品国产99精品国产亚洲性色| 日韩午夜高潮| 99精品国产一区二区青青牛奶| 亚洲国产精品电影在线观看| 国产一区二区三区日韩| 国产精品久久久久毛片软件| 欧美日韩mv| 欧美日韩一区二区三区在线| 欧美激情一区二区在线 | 久久久久九九九九| 久久国产精品99国产| 欧美一区=区| 性刺激综合网| 日韩亚洲一区二区| 国外视频精品毛片| 欧美精选一区| 亚洲日本乱码在线观看| 欧美午夜精品久久久久久超碰| 欧美激情一区在线| 欧美日本韩国一区二区三区| 欧美国产一区二区| 欧美日韩a区| 国产精品久久久久久超碰 | 西瓜成人精品人成网站| 欧美影院精品一区| 久久爱www| 老牛国产精品一区的观看方式| 免费成人黄色| 欧美日韩中文| 国产女主播一区二区三区| 国产色产综合产在线视频| 国产欧美一区二区精品性| 狠狠色香婷婷久久亚洲精品| 激情懂色av一区av二区av| 亚洲激情校园春色| 亚洲尤物在线| 亚洲欧美日韩精品一区二区| 久久久久成人精品免费播放动漫| 一区二区三区视频观看| 亚洲国产天堂久久国产91| 国产主播在线一区| 国产精品推荐精品| 国产主播一区二区三区|