CSS ဘောင် -အောက်ခြေ-အရောင် ပိုင်ဆိုင်မှု
ဥပမာ
အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: coral;}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် border-bottom-color
ဒြပ်စင်တစ်ခု၏အောက်ခြေဘောင်၏အရောင်ကို သတ်မှတ်ပေးသည်။
မှတ်ချက်- စည်းမျဥ်း ပုံစံ သို့မဟုတ်
ဘောင်-အောက်ခြေပုံစံ ပိုင်ဆိုင်မှုကို ပိုင်ဆိုင်မှုရှေ့တွင် အမြဲကြေငြာပါ border-bottom-color
။ အရောင်မပြောင်းမီ ဒြပ်စင်တစ်ခုတွင် ဘောင်တစ်ခုရှိရမည်။
မူလတန်ဖိုး: | ဒြပ်စင်၏လက်ရှိအရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.borderBottomColor="blue" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-bottom-color | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
CSS Syntax
border-bottom-color: color|transparent|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
color | Specifies the color of the bottom border. Look at CSS Color Values for a complete list of possible color values. Default color is the current color of the element | |
transparent | Specifies that the border color should be transparent | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
နောက်ထပ် ဥပမာများ
ဥပမာ
HEX တန်ဖိုးဖြင့် အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: #92a8d1;}
ဥပမာ
RGB တန်ဖိုးဖြင့် အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: rgb(201, 76, 76);}
ဥပမာ
RGBA တန်ဖိုးဖြင့် အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: rgba(201, 76, 76, 0.3);}
ဥပမာ
HSL တန်ဖိုးဖြင့် အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: hsl(89, 43%, 51%);}
ဥပမာ
HSLA တန်ဖိုးဖြင့် အောက်ခြေဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-bottom-color: hsla(89, 43%, 51%, 0.3);}
ဥပမာ
ပွင့်လင်းမြင်သာသော အောက်ခြေဘောင်ကို သတ်မှတ်ပါ-
div {border-bottom-color: transparent;}
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
CSS ရည်ညွှန်းချက်- ဘောင်-အောက်ခြေ ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- borderBottomColor ပိုင်ဆိုင်မှု