CSS ဘောင် -ညာ-အရောင် ပိုင်ဆိုင်မှု
ဥပမာ
ညာဘက်ဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-right-color: coral;}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ဒြပ်စင်တစ်ခု၏ ညာဘက်ဘောင် ၏ border-right-color
အရောင်ကို သတ်မှတ်သည်။
မှတ်ချက်- စည်းမျဥ်း ပုံစံ သို့မဟုတ်
ဘောင်-ညာ-စတိုင်
ပိုင်ဆိုင်မှုကို ပိုင်ဆိုင်မှုရှေ့တွင် အမြဲကြေငြာပါ border-right-color
။ အရောင်မပြောင်းမီ ဒြပ်စင်တစ်ခုတွင် ဘောင်တစ်ခုရှိရမည်။
မူလတန်ဖိုး: | အနက်ရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS1 |
JavaScript syntax- | အရာဝတ္ထု .style.borderRightColor="blue" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-right-color | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
CSS Syntax
border-right-color: color|transparent|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
color | Specifies the color of the right 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-right-color: #92a8d1;}
ဥပမာ
RGB တန်ဖိုးဖြင့် ညာဘက်ဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-right-color: rgb(201, 76, 76);}
ဥပမာ
RGBA တန်ဖိုးဖြင့် ညာဘက်ဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-right-color: rgba(201, 76, 76, 0.3);}
ဥပမာ
HSL တန်ဖိုးဖြင့် ညာဘက်ဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-right-color: hsl(89, 43%, 51%);}
ဥပမာ
HSLA တန်ဖိုးဖြင့် ညာဘက်ဘောင်အတွက် အရောင်တစ်ခု သတ်မှတ်ပါ-
div {border-right-color: hsla(89, 43%, 51%, 0.3);}
ဥပမာ
ပွင့်လင်းသော ညာဘက်ဘောင်ကို သတ်မှတ်ပါ-
div {border-right-color: transparent;}
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
CSS ရည်ညွှန်းချက်- ဘောင်-ညာဘက် ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- borderRightColor ပိုင်ဆိုင်မှု