CSS ဘောင် -ဘယ်ဘက် ပိုင်ဆိုင်မှု
ဥပမာ
မတူညီသောဒြပ်စင်များအတွက် ဘယ်ဘက်ဘောင်၏စတိုင်ကို သတ်မှတ်ပါ-
h1 {
border-left: 5px solid red;
}
h2 {
border-left: 4px dotted blue;
}
div {
border-left: double;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ( အောက်ပါ border-left
အစီအစဥ်အရ) အတွက် လက်တိုပိုင်ဆိုင်မှုတစ်ခုဖြစ်သည်။
- ဘောင်-ဘယ်-အနံ
- ဘောင်-ဘယ်-စတိုင် (လိုအပ်သည်)
- အစွန်း-ဘယ်-အရောင်
ဘောင်-ဘယ်-အရောင်ကို ချန်လှပ်ထားပါက၊ ထည့်သွင်းထားသောအရောင်သည် စာသား၏အရောင်ဖြစ်လိမ့်မည်။
မူလတန်ဖိုး: | အလယ်အလတ်မရှိသော အရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်ကဲ့၊ တစ်ဦးချင်းဂုဏ်သတ္တိများကိုကြည့်ပါ ။ ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.borderLeft="3px အပြာရောင်" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-left | 1.0 | 4.0 | 1.0 | 3.5 | 1.0 |
CSS Syntax
border-left: border-width border-style border-color|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
border-left-width | Optional. Specifies the width of the left border. Default value is "medium" |
border-left-style | Required. Specifies the style of the left border. Default value is "none" |
border-left-color | Optional. Specifies the color of the left 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 ရည်ညွှန်းချက်- borderLeft ပိုင်ဆိုင်မှု