Bootstrap 3 ကျူတိုရီရယ်

BS ပင်မစာမျက်နှာ BS ကို စတင်လိုက်ပါ။ BS Grid အခြေခံ BS စာစီစာရိုက် BS ဇယားများ BS ရုပ်ပုံများ BS Jumbotron BS ဝဲလ် BS သတိပေးချက်များ BS ခလုတ်များ BS ခလုတ်အုပ်စုများ BS Glyphicons BS တံဆိပ်များ/တံဆိပ်များ BS တိုးတက်မှုဘားများ BS Pagination BS ပေဂျာ BS စာရင်းအုပ်စုများ BS Panels များ BS Dropdowns BS ခေါက်သိမ်း BS တက်ဘ်များ/ဆေးပြားများ BS Navbar BS ပုံစံများ BS သွင်းအားစုများ BS သွင်းအားစုများ ၂ BS ထည့်သွင်းမှုအရွယ်အစား BS မီဒီယာအရာဝတ္ထုများ BS ချားရဟတ် BS Modal BS Tooltip BS Popover BS Scrollspy BS Affix BS စစ်ထုတ်မှုများ

Bootstrap Grids

BS Grid စနစ် BS Stacked/Horizontal BS Grid အသေး BS Grid Medium BS Grid အကြီး BS Grid နမူနာများ

Bootstrap အပြင်အဆင်များ

BS ပုံစံများ BS ဆောင်ပုဒ် "ရိုးရှင်းစွာ ကျွန်ုပ်" BS ဆောင်ပုဒ် "ကုမ္ပဏီ" BS Theme "Band"

Bootstrap နမူနာများ

BS နမူနာများ BS Quiz BS လေ့ကျင့်ခန်းများ BS လက်မှတ်

Bootstrap CSS Ref

CSS အတန်းအားလုံး CSS စာစီစာရိုက် CSS ခလုတ်များ CSS ပုံစံများ CSS အကူအညီပေးသူများ CSS ပုံများ CSS ဇယားများ CSS Dropdowns CSS Navs ဂလက်ဖကွန်များ

Bootstrap JS Ref

JS Affix JS သတိပေးချက် JS ခလုတ် JS ချားရဟတ် JS ခေါက်သိမ်းပါ။ JS Dropdown JS Modal JS Popover JS Scrollspy JS Tab JS Tooltip


Bootstrap CSS Forms ရည်ညွှန်းချက်


Bootstrap ၏ မူရင်းဆက်တင်များ

တစ်ဦးချင်း ဖောင်ထိန်းချုပ်မှုများသည် Bootstrap ဖြင့် ကမ္ဘာလုံးဆိုင်ရာ ပုံစံအချို့ကို အလိုအလျောက် ရရှိသည်။

class="form-control" ပါရှိသော စာသား <input>၊ <textarea> နှင့် <select> ဒြပ်စင်အားလုံးကို width အဖြစ် သတ်မှတ်ထားသည်- 100%; ပုံသေ။

ဖောင်အပြင်အဆင် သုံးခုစလုံးအတွက် စံစည်းမျဉ်းများ-

  • အညွှန်းများနှင့် ဖောင်ထိန်းချုပ်မှုများကို ထုပ်ပိုးပါ <div class="form-group">(အကောင်းဆုံးအကွာအဝေးအတွက် လိုအပ်သည်)
  • အတန်းအစား ၊ နှင့် ဒြပ်စင်များ .form-controlအားလုံးသို့ အတန်းကို ထည့်ပါ ။<input><textarea><select>

အောက်ဖော်ပြပါ ဥပမာသည် ထည့်သွင်းမှုအကွက်နှစ်ခု၊ အမှတ်ခြစ်ကွက်တစ်ခုနှင့် တင်သွင်းရန်ခလုတ်တစ်ခုပါရှိသော ရိုးရှင်းသော Bootstrap ဖောင်ပုံစံကို ဖန်တီးသည်-

Bootstrap ဖောင်နမူနာ

<form>
  <div class="form-group">
    <label for="email">Email address:</label>
    <input type="email" class="form-control" id="email">
  </div>
  <div class="form-group">
    <label for="pwd">Password:</label>
    <input type="password" class="form-control" id="pwd">
  </div>
  <div class="checkbox">
    <label><input type="checkbox"> Remember me</label>
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>

ပုံစံအတန်းများ

Class Description Example
.form-inline Makes a <form> left-aligned with inline-block controls (This only applies to forms within viewports that are at least 768px wide)
.form-horizontal Aligns labels and groups of form controls in a horizontal layout
.form-control Used on input, textarea, and select elements to span the entire width of the page and make them responsive
.form-control-feedback Form validation class
.form-control-static Adds plain text next to a form label within a horizontal form
.form-group Container for form input and label

ထည့်သွင်းအတန်းများ

Class Description Example
.input-group Container to enhance an input by adding an icon, text or a button in front or behind it as a "help text"
.input-group-lg Large input group
.input-group-sm Small input group
.input-group-addon Together with the .input-group class, this class makes it possible to add an icon or help text next to the input field
.input-group-btn Together with the .input-group class, this class attaches a button next to an input. Often used as a search bar
.input-lg Large input field
.input-sm Small input field