အဓိကအကြောင်းအရာသို့ ကျော်သွားပါ။ စာရွက်စာတမ်းလမ်းညွှန်မှုသို့ ကျော်သွားပါ။
in English

စာစီစာရိုက်

ကမ္ဘာလုံးဆိုင်ရာဆက်တင်များ၊ ခေါင်းစီးများ၊ စာကိုယ်စာ၊ စာရင်းများနှင့် အခြားအရာများအပါအဝင် Bootstrap စာစီစာရိုက်အတွက် စာရွက်စာတမ်းနှင့် နမူနာများ။

ကမ္ဘာလုံးဆိုင်ရာ ဆက်တင်များ

Bootstrap သည် အခြေခံ ကမ္ဘာလုံးဆိုင်ရာ ပြသမှု၊ စာစီစာရိုက်နှင့် လင့်ခ်ပုံစံများကို သတ်မှတ်ပေးသည်။ ထိန်းချုပ်မှုပိုမိုလိုအပ်သောအခါ၊ textual utility classes ကိုစစ်ဆေး ပါ။

  • OS နှင့် စက်တစ်ခုစီအတွက် အကောင်းဆုံးကို ရွေးချယ်ပေး သည့် မူရင်းဖောင့ ်အတွဲ ကို အသုံးပြု ပါ။font-family
  • ပိုမိုပါဝင်ပြီး အသုံးပြုနိုင်သော အမျိုးအစားစကေးအတွက်၊ ကျွန်ုပ်တို့သည် ဘရောက်ဆာ၏ မူရင်းအမြစ် font-size(ပုံမှန်အားဖြင့် 16px) ကို အသုံးပြုသောကြောင့် လာရောက်သူများသည် ၎င်းတို့၏ဘရောက်ဆာမူရင်းများကို လိုအပ်သလို စိတ်ကြိုက်ပြင်ဆင်နိုင်ပါသည်။
  • ကျွန်ုပ်တို့၏ စာစီစာရိုက်အခြေခံအဖြစ် အဆိုပါ $font-family-base, $font-size-base, နှင့် အရည်အချင်းများကို အသုံးပြုပါ ။$line-height-base<body>
  • မှတဆင့် ကမ္ဘာလုံးဆိုင်ရာလင့်ခ်အရောင်ကို သတ်မှတ်ပါ $link-color
  • ( မူသေအားဖြင့်) ပေါ်တွင် $body-bgတစ်ခုသတ်မှတ်ရန် အသုံးပြု ပါ ။background-color<body>#fff

ဤစတိုင်များကို အထဲမှာ ရှာတွေ့နိုင်ပြီး _reboot.scssglobal variables များကို _variables.scss. $font-size-baseထည့် သွင်း ရန်သေချာပါစေ rem

ခေါင်းစဉ်များ

HTML ခေါင်းစဉ်များအားလုံး၊ <h1>မှတဆင့် <h6>ရနိုင်ပါသည်။

ခေါင်းစီး ဥပမာ
<h1></h1> h1။ Bootstrap ခေါင်းစဉ်
<h2></h2> h2။ Bootstrap ခေါင်းစဉ်
<h3></h3> h3။ Bootstrap ခေါင်းစဉ်
<h4></h4> h4။ Bootstrap ခေါင်းစဉ်
<h5></h5> h5။ Bootstrap ခေါင်းစဉ်
<h6></h6> h6။ Bootstrap ခေါင်းစဉ်
<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ခေါင်းစဉ်တစ်ခု၏ ဖောင့်ပုံစံကို ကိုက်ညီလိုသော်လည်း ဆက်စပ် HTML ဒြပ်စင်ကို အသုံးမပြုနိုင်သည့်အခါ အတန်းများ မှတစ်ဆင့် လည်း ရရှိနိုင်သည်။

h1။ Bootstrap ခေါင်းစဉ်

h2။ Bootstrap ခေါင်းစဉ်

h3။ Bootstrap ခေါင်းစဉ်

h4။ Bootstrap ခေါင်းစဉ်

h5။ Bootstrap ခေါင်းစဉ်

h6။ Bootstrap ခေါင်းစဉ်

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

ခေါင်းစဉ်များကို စိတ်ကြိုက်ပြင်ဆင်ခြင်း။

Bootstrap 3 မှ အလယ်တန်း ခေါင်းစီးစာတိုလေးကို ပြန်လည်ဖန်တီးရန် ပါဝင်သော utility အတန်းများကို သုံးပါ။

မှေးမှိန်သွားသော ဒုတိယစာသားဖြင့် ဖန်စီပြကွက် ခေါင်းစဉ်

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

ခေါင်းစဉ်များကိုပြသပါ။

သမားရိုးကျ ခေါင်းစီးဒြပ်စင်များကို သင့်စာမျက်နှာအကြောင်းအရာ၏ အသားတွင် အကောင်းဆုံးလုပ်ဆောင်ရန် ဒီဇိုင်းထုတ်ထားသည်။ ထင်ရှားပေါ်လွင်စေရန် ခေါင်းစီးတစ်ခုကို လိုအပ်သောအခါ၊ ပိုကြီးပြီး အနည်းငယ်ပို၍ ထင်မြင်ယူဆနိုင်သော ခေါင်းစီးပုံစံ ကို အသုံးပြုရန် စဉ်းစားပါ။

ပြသမှု ၁
ရုပ်ထွက် ၂
ပြကွက် ၃
ရုပ်ထွက် ၄
ရုပ်ထွက် ၅
ရုပ်ထွက် ၆
<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-font-sizesပြသမှုဆိုင်ရာ ခေါင်းစဉ်များကို Sass မြေပုံနှင့် ကွဲပြားသည့် ကွဲပြားမှုများ နှစ်ခု $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;

ခဲ

ပေါင်းထည့်ခြင်းဖြင့် စာပိုဒ်ကို ထင်ရှားအောင်ပြုလုပ်ပါ .lead

ဒါက ဦးဆောင်စာပိုဒ်ပါ။ ပုံမှန်စာပိုဒ်များမှ ထင်ရှားသည်။

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

စာသားအစိတ်အပိုင်းများ

အများသုံး inline HTML5 ဒြပ်စင်များအတွက် ပုံစံဆွဲခြင်း။

mark tag ကိုသုံးလို့ရပါတယ်။မီးမောင်းထိုးပြစာသား

ဤစာကြောင်းကို ဖျက်ထားသော စာသားအဖြစ် သတ်မှတ်ရန် ရည်ရွယ်သည်။

ဤစာကြောင်းကို မတိကျတော့ဟု ယူဆရန် ရည်ရွယ်သည်။

ဤစာကြောင်းကို စာရွက်စာတမ်း၏ ထပ်လောင်းတစ်ခုအဖြစ် မှတ်ယူရန် ရည်ရွယ်သည်။

ဤစာသားမျဉ်းသည် မျဉ်းသားထားသည့်အတိုင်း ပြန်ဆိုပါမည်။

ဤစာကြောင်းကို ကောင်းမွန်သောပုံနှိပ်စာအဖြစ် သတ်မှတ်ရန် ရည်ရွယ်သည်။

ဤစာကြောင်းကို ရဲရင့်သောစာသားအဖြစ် ပြန်ဆိုထားသည်။

ဤစာကြောင်းကို စာလုံးစောင်းဖြင့် ပြန်ဆိုထားသည်။

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

အဆိုပါ tags များကို အဓိပ္ပါယ်ရှိသောရည်ရွယ်ချက်အတွက် အသုံးပြုသင့်သည်-

  • <mark>အကိုးအကား သို့မဟုတ် အမှတ်အသားပြုလုပ်ရန် ရည်ရွယ်ချက်များအတွက် အမှတ်အသား သို့မဟုတ် မီးမောင်းထိုးထားသည့် စာသားကို ကိုယ်စားပြုသည်။
  • <small>မူပိုင်ခွင့်နှင့် တရားဝင်စာသားများကဲ့သို့ ဘေးထွက်မှတ်ချက်များနှင့် အသေးစားပုံနှိပ်ခြင်းကို ကိုယ်စားပြုသည်။
  • <s>မသက်ဆိုင်တော့သော သို့မဟုတ် မတိကျတော့သော အစိတ်အပိုင်းကို ကိုယ်စားပြုသည်။
  • <u>၎င်းတွင် စာသားမဟုတ်သော မှတ်စာပါရှိကြောင်း ညွှန်ပြသည့် နည်းလမ်းဖြင့် ပြန်ဆိုသင့်သည့် အတွင်းလိုင်းစာသားတစ်ထွာကို ကိုယ်စားပြုသည်။

သင့်စာသားကို ပုံစံတူပြုလုပ်လိုပါက အောက်ပါအတန်းအစားများကို အသုံးပြုသင့်သည်-

  • .markတူညီသောပုံစံများကိုအသုံးပြုလိမ့်မည် <mark>
  • .smallတူညီသောပုံစံများကိုအသုံးပြုလိမ့်မည် <small>
  • .text-decoration-underlineတူညီသောပုံစံများကိုအသုံးပြုလိမ့်မည် <u>
  • .text-decoration-line-throughတူညီသောပုံစံများကိုအသုံးပြုလိမ့်မည် <s>

အထက်တွင်ဖော်ပြထားခြင်းမရှိသော်လည်း၊ HTML5 တွင် လွတ်လပ်စွာ <b>အသုံးပြုနိုင်ပါသည် <i><b>အပိုအရေးပါမှုကို ဖော်ပြခြင်းမရှိဘဲ စကားလုံးများ သို့မဟုတ် စကားစုများကို မီးမောင်းထိုးပြရန် ရည်ရွယ်ပြီး <i>အများအားဖြင့် အသံ၊ နည်းပညာဆိုင်ရာ အသုံးအနှုန်းများစသည်တို့အတွက် ဖြစ်သည်။

စာသားအသုံးအဆောင်များ

ကျွန်ုပ်တို့၏ text utilities နှင့် color utilities များ ဖြင့် စာသားချိန်ညှိခြင်း၊ အသွင်ပြောင်းခြင်း၊ ပုံစံ၊ အလေးချိန်၊ မျဉ်းကြောင်းအမြင့်၊ အလှဆင်ခြင်းနှင့် အရောင်ကို ပြောင်းလဲပါ ။

အတိုကောက်များ

<abbr>အတိုကောက်များနှင့် အတိုကောက်များ အတွက် တိုးချဲ့ထားသော ဗားရှင်းကို အပေါ်မှချပြရန် HTML ၏ အစိတ်အပိုင်းကို ပုံစံကျကျ အကောင်အထည်ဖော်ခြင်း ။ အတိုကောက်များတွင် ပုံသေမျဉ်းသားတစ်ခု ပါရှိပြီး အမြင့်ပေါ်တွင် ထပ်လောင်းအကြောင်းအရာကို ပံ့ပိုးပေးရန်နှင့် အထောက်အကူနည်းပညာအသုံးပြုသူများအတွက် အကူအညီ cursor တစ်ခုရရှိပါ။

.initialismအနည်းငယ်သေးငယ်သော ဖောင့်အရွယ်အစားအတွက် အတိုကောက်တစ်ခုသို့ ထည့်ပါ ။

attr

HTML

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

ကိုးကားချက်များ

သင့်စာရွက်စာတမ်းအတွင်းရှိ အခြားရင်းမြစ်များမှ အကြောင်းအရာတုံးများကို ကိုးကားခြင်း။ ကိုးကားချက်အဖြစ် မည်သည့် HTML ကိုမဆို <blockquote class="blockquote">ဝိုင်း ဖွဲ့ပါ။

blockquote element တွင်ပါရှိသော နာမည်ကြီးကိုးကား။

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

အရင်းအမြစ်အမည်ပေးခြင်း

HTML spec သည် blockquote ရည်ညွှန်းချက်ကို ပြင်ပတွင်ထားရှိရန် လိုအပ်သည် <blockquote>။ ရည်ညွှန်းချက်ကို ပံ့ပိုးပေးသောအခါ၊ သင့် <blockquote>အား အတန်းအစားနှင့် ပေါင်းစပ်ပြီး အတန်းအစား <figure>တစ်ခု <figcaption>သို့မဟုတ် ဘလောက်အဆင့်ဒြပ်စင် (ဥပမာ၊ <p>) ကို အသုံးပြုပါ .blockquote-footer။ အရင်းအနှီး၏အမည်ကိုလည်း ခြုံငုံသုံးသပ် <cite>ပါ။

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 ၏ ချိန်ညှိမှုကို ပြောင်းလဲရန် လိုအပ်သလို စာသားအသုံးအဆောင်များကို အသုံးပြုပါ။

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>

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>

စာရင်းများ

ပုံစံမဲ့

list-styleစာရင်းအကြောင်းအရာများပေါ်ရှိ ပုံသေနှင့် ဘယ်ဘက်အနားသတ်ကို ဖယ်ရှား ပါ (ချက်ချင်းကလေးများသာ)။ ၎င်းသည် လက်ငင်းကလေးများစာရင်းဝင်သည့်အရာများနှင့်သာ သက်ဆိုင်သည် ၊ ဆိုလိုသည်မှာ သင်သည် မည်သည့် nested lists အတွက်မဆို အတန်းကို ထည့်ရန် လိုအပ်မည်ဖြစ်သည်။

  • ဒါက စာရင်းတစ်ခုပါ။
  • လုံးဝ ပုံစံမကျပုံပေါ်ပါတယ်။
  • ဖွဲ့စည်းပုံအရ၊ စာရင်းတစ်ခုပဲ ရှိပါသေးတယ်။
  • သို့သော်၊ ဤပုံစံသည် ချက်ချင်းကလေး အစိတ်အပိုင်းများနှင့်သာ သက်ဆိုင်ပါသည်။
  • Nested စာရင်းများ-
    • ဤပုံစံကို မထိခိုက်ပါ။
    • ကျည်ဆန်တစ်လက်ကို ပြနေသေးသည်။
    • သင့်လျော်သော ဘယ်ဘက်အနားသတ်ရှိရမည်။
  • ဤအရာသည် အချို့သောအခြေအနေများတွင် အဆင်ပြေနိုင်သေးသည်။
<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>

တန်းဝင်ကာစီသည်

စာရင်းတစ်ခု၏ ကျည်ဆံများကို ဖယ်ရှားပြီး marginအတန်းနှစ်ခုပေါင်းစပ်ခြင်းဖြင့် အလင်းအချို့ကို အသုံးချ .list-inlineပါ .list-inline-item

  • ဤအရာသည် စာရင်းတစ်ခုဖြစ်သည်။
  • နောက်တစ်မျိုး။
  • ဒါပေမယ့် သူတို့က 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>

ဖော်ပြချက် စာရင်း ချိန်ညှိမှု

ကျွန်ုပ်တို့၏ ဂရစ်စနစ်၏ ကြိုတင်သတ်မှတ်ထားသော အတန်းများ (သို့မဟုတ် ဝေါဟာရအသုံးအနှုံးများ) ကိုအသုံးပြုခြင်းဖြင့် ဝေါဟာရများနှင့် ဖော်ပြချက်များကို အလျားလိုက်ညှိပါ။ .text-truncateရှည်လျားသောအသုံးအနှုန်းများအတွက်၊ သင်သည် စာသားကို ellipsis ဖြင့် ဖြတ်တောက်ရန် အတန်း တစ်ခုကို စိတ်ကြိုက်ရွေးချယ်နိုင်သည် ။

ဖော်ပြချက်စာရင်းများ
ဖော်ပြချက်စာရင်းသည် ဝေါဟာရများကို သတ်မှတ်ရန်အတွက် ပြီးပြည့်စုံသည်။
ဖိုးသူတော်

အသုံးအနှုန်းအတွက် အဓိပ္ပာယ်ဖွင့်ဆိုချက်။

နေရာယူသူ အဓိပ္ပါယ်ဖွင့်ဆိုချက်အချို့။

နောက်တစ်မျိုး
ဤအဓိပ္ပါယ်သည် တိုတောင်းသောကြောင့် အပိုစာပိုဒ်များ သို့မဟုတ် ဘာမှမရှိပါ။
ဖြတ်တောက်ထားသော အသုံးအနှုန်းကို ဖြတ်တောက်ထားသည်။
နေရာ ကျဉ်းနေသည့်အခါ ၎င်းသည် အသုံးဝင်သည်။ အဆုံးတွင် ellipsis တစ်ခုထည့်သည်။
အသိုက်
Nested အဓိပ္ပါယ်ဖွင့်ဆိုချက်စာရင်း
အဓိပ္ပါယ်ဖွင့်ဆိုချက်တွေကို ကြိုက်တယ်လို့ ကြားတယ်။ မင်းရဲ့ အဓိပ္ပါယ်ဖွင့်ဆိုချက်စာရင်းထဲမှာ အဓိပ္ပါယ်ဖွင့်ဆိုချက်တစ်ခု ထည့်ပါရစေ။
<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>

တုံ့ပြန်မှုရှိသော ဖောင့်အရွယ်အစားများ

Bootstrap 5 တွင်၊ ကျွန်ုပ်တို့သည် ပုံသေအားဖြင့် တုံ့ပြန်မှုရှိသော ဖောင့်အရွယ်အစားများကို ဖွင့်ထားပြီး၊ စက်နှင့် မြင်ကွင်းပို့အရွယ်အစားများတစ်လျှောက်တွင် စာသားကို သဘာဝကျကျ အတိုင်းအတာဖြင့် ပိုမိုချဲ့ထွင်ရန် ခွင့်ပြုထားပါသည်။ ၎င်းသည်မည်သို့အလုပ်လုပ်သည်ကိုရှာဖွေရန် RFS စာမျက်နှာ ကို ကြည့်ရှု ပါ။

ဆူး

ကိန်းရှင်များ

ခေါင်းစီးများတွင် အရွယ်အစားနှင့် အကွာအဝေးအတွက် သီးခြားကွဲပြားချက်အချို့ရှိသည်။

$headings-margin-bottom:      $spacer * .5;
$headings-font-family:        null;
$headings-font-style:         null;
$headings-font-weight:        500;
$headings-line-height:        1.2;
$headings-color:              null;

ဤနေရာတွင် ပါဝင်သော အမျိုးမျိုးသော စာစီစာရိုက်ဒြပ်စင်များနှင့် Reboot တွင် သီးခြားပြောင်းလဲနိုင်သော ကွဲပြားမှုများလည်းရှိသည်။

$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

စာစီစာရိုက်အတွက် သီးခြား mixins များမရှိသော်လည်း Bootstrap သည် Responsive Font Sizing (RFS) ကို အသုံးပြု ပါသည်။