Bootstrap 4 စာသား/စာစီစာရိုက်
Bootstrap 4 မူရင်းဆက်တင်များ
Bootstrap 4 သည် မူရင်း
font-size
16px ကို အသုံးပြုထားပြီး ၎င်း၏
line-height
1.5 ဖြစ်သည်။
မူရင်းမှာ font-family
"Helvetica Neue", Helvetica, Arial, sans-serif ဖြစ်သည်။
ထို့အပြင်၊ <p>
ဒြပ်စင်
အားလုံးတွင် margin-top: 0
နှင့် margin-bottom: 1rem
(ပုံမှန်အားဖြင့် 16px) ရှိသည်။
<h1> - <h6>
ပိုကြီးသောဖောင့်အလေးချိန်နှင့် တိုးလာသောဖောင့်အရွယ်အစားနှင့်အတူ Bootstrap 4 စတိုင် HTML ခေါင်းစဉ်များ ( <h1>
သို့
)<h6>
ဥပမာ
h1 Bootstrap heading (2.5rem = 40px)
h2 Bootstrap heading (2rem = 32px)
h3 Bootstrap heading (1.75rem = 28px)
h4 Bootstrap heading (1.5rem = 24px)
h5 Bootstrap heading (1.25rem = 20px)
h6 Bootstrap heading (1rem = 16px)
ခေါင်းစီးများကို ပြသပါ။
ပြကွက်ခေါင်းစီးများကို ပုံမှန်ခေါင်းစီးများ (ပိုကြီးသောဖောင့်အရွယ်အစားနှင့် ဖောင့်အလေးချိန်ပိုပေါ့သည်) ကို အသုံးပြုပြီး ရွေးချယ်ရန် အတန်းလေးခုရှိသည်- .display-1
, .display-2
, .display-3
,.display-4
ဥပမာ
Display 1
Display 2
Display 3
Display 4
<small>
Bootstrap 4 <small>
တွင် မည်သည့်ခေါင်းစီးတွင်မဆို ပိုမိုပေါ့ပါးပြီး အလယ်တန်းစာသားဖန်တီးရန်အတွက် HTML element ကိုအသုံးပြုသည်-
ဥပမာ
h1 heading secondary text
h2 heading secondary text
h3 heading secondary text
h4 heading secondary text
h5 heading secondary text
h6 heading secondary text
<အမှတ်အသား>
Bootstrap 4 သည် HTML <mark>
အစိတ်အပိုင်းအား အဝါရောင်နောက်ခံအရောင်နှင့် padding အချို့ဖြင့် ပုံစံဆင်ပေးလိမ့်မည်-
ဥပမာ
Use the mark element to highlight text.
<abbr>
Bootstrap 4 သည် HTML <abbr>
ဒြပ်စင်ကို အစက်အပြောက် ဘောင်အောက်ခြေဖြင့် ပုံစံဆင်ပေးလိမ့်မည်-
ဥပမာ
The WHO was founded in 1948.
<blockquote>
အခြားရင်းမြစ်များမှ အကြောင်းအရာတုံးများကို ကိုးကားသောအခါ တွင် .blockquote
အတန်းကို ထည့်ပါ -<blockquote>
ဥပမာ
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
<dl>
Bootstrap 4 သည် HTML <dl>
ဒြပ်စင်ကို အောက်ပါနည်းလမ်း ဖြင့် ပုံစံထုတ်ပါမည်။
ဥပမာ
- Coffee
- - black hot drink
- Milk
- - white cold drink
<code>
Bootstrap 4 သည် HTML <code>
ဒြပ်စင်ကို အောက်ပါနည်းလမ်း ဖြင့် ပုံစံထုတ်ပါမည်။
ဥပမာ
The following HTML elements: span
, section
, and div
defines a section in a document.
<kbd>
Bootstrap 4 သည် HTML <kbd>
ဒြပ်စင်ကို အောက်ပါနည်းလမ်း ဖြင့် ပုံစံထုတ်ပါမည်။
ဥပမာ
Use ctrl + p to open the Print dialog box.
<pre>
Bootstrap 4 သည် HTML <pre>
ဒြပ်စင်ကို အောက်ပါနည်းလမ်း ဖြင့် ပုံစံထုတ်ပါမည်။
ဥပမာ
is displayed in a fixed-width
font, and it preserves
both spaces and
line breaks.
နောက်ထပ် စာစီစာရိုက်သင်တန်းများ
အောက်ဖော်ပြပါ Bootstrap 4 အတန်းများကို ပုံစံ HTML အစိတ်အပိုင်းများသို့ ထပ်မံထည့်သွင်းနိုင်သည်-
Class | Description | Example |
---|---|---|
.font-weight-bold |
Bold text | |
.font-weight-bolder |
Bolder text | |
.font-italic |
Italic text | |
.font-weight-light |
Light weight text | |
.font-weight-lighter |
Lighter weight text | |
.font-weight-normal |
Normal text | |
.lead |
Makes a paragraph stand out | |
.small |
Indicates smaller text (set to 80% of the size of the parent) | |
.text-left |
Indicates left-aligned text | |
.text-*-left |
Indicates left-aligned text on small, medium, large or xlarge screens | |
.text-break |
Prevents long text from breaking layout | |
.text-center |
Indicates center-aligned text | |
.text-*-center |
Indicates center-aligned text on small, medium, large or xlarge screens | |
.text-decoration-none |
Removes the underline from a link | |
.text-right |
Indicates right-aligned text | |
.text-*-right |
Indicates right-aligned text on small, medium, large or xlarge screens | |
.text-justify |
Indicates justified text | |
.text-monospace |
Monospaced text | |
.text-nowrap |
Indicates no wrap text | |
.text-lowercase |
Indicates lowercased text | |
.text-reset |
Resets the color of a text or a link (inherits the color from its parent) | |
.text-uppercase |
Indicates uppercased text | |
.text-capitalize |
Indicates capitalized text | |
.initialism |
Displays the text inside an <abbr> element in a slightly smaller font size |
|
.list-unstyled |
Removes the default list-style and left margin on list items (works on both <ul> and <ol> ). This class only applies to immediate children list items (to remove the default list-style from any nested lists, apply this class to any nested lists as well) |
|
.list-inline |
Places all list items on a single line (used together with
.list-inline-item on each <li> elements) |
|
.pre-scrollable |
Makes a <pre> element scrollable |
Bootstrap 4 CSS ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
Bootstrap 4 တွင်ရရှိနိုင်သည့် CSS အတန်းများအားလုံး၏ အပြည့်အစုံကိုးကားရန်အတွက်၊ ကျွန်ုပ်တို့၏ Bootstrap 4 All Classes Reference သို့ ဝင်ရောက်ကြည့်ရှု ပါ။