CSS ဘောင် -အောက်ခြေ ပိုင်ဆိုင်မှု
ဥပမာ
မတူညီသောဒြပ်စင်များအတွက် အောက်ခြေဘောင်ပုံစံကို သတ်မှတ်ပါ-
h1 {
border-bottom: 5px solid red;
}
h2 {
border-bottom: 4px dotted blue;
}
div {
border-bottom: double;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ( အောက်ပါ border-bottom
အစီအစဥ်အရ) အတွက် လက်တိုပိုင်ဆိုင်မှုတစ်ခုဖြစ်သည်။
ဘောင်-အောက်ခြေ-အရောင်ကို ချန်လှပ်ထားပါက၊ အသုံးပြုထားသောအရောင်သည် စာသား၏အရောင်ဖြစ်လိမ့်မည်။
မူလတန်ဖိုး: | အလယ်အလတ်မရှိသော အရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်ကဲ့၊ တစ်ဦးချင်းဂုဏ်သတ္တိများကိုကြည့်ပါ ။ ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.borderBottom="15px အစက်ချထားသော အပြာရောင်" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-bottom | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
CSS Syntax
border-bottom: border-width border-style border-color|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
border-bottom-width | Required. Specifies the width of the bottom border. Default value is "medium" |
border-bottom-style | Required. Specifies the style of the bottom border. Default value is "none" |
border-bottom-color | Optional. Specifies the color of the bottom border. Default value is the color of the text |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
HTML DOM ရည်ညွှန်းချက်- borderBottom ပိုင်ဆိုင်မှု