ပုံစံ ဘောင်RightColor Property
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏ ညာဘက်ဘောင်၏ အရောင်ကို အနီရောင်သို့ ပြောင်းပါ-
document.getElementById("myDiv").style.borderRightColor = "red";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
borderRightColor ပိုင်ဆိုင်မှုသည် ဒြပ်စင်တစ်ခု၏ ညာဘက်ဘောင်၏အရောင်ကို သတ်မှတ်ပေးသည် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
borderRightColor | Yes | Yes | Yes | Yes | Yes |
အထားအသို
အနားသတ်အရောင်ကို ညာဘက်သို့ ပြန်ပေးပါ။
object.style.borderRightColor
borderRightColor ကို သတ်မှတ်ပါ-
object.style.borderRightColor = "color|transparent|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
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 | The color of the right border is transparent (underlying content will shine through) |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | လက်ရှိအရောင် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ ညာဘက်ဘောင်၏ အရောင်ကို ကိုယ်စားပြုသော စာတန်း |
CSS ဗားရှင်း | CSS1 |
နောက်ထပ် ဥပမာများ
ဥပမာ
<div> ဒြပ်စင်တစ်ခု၏ ညာဘက်ဘောင်အရောင်ကို ပြန်ပေးပါ။
alert(document.getElementById("myDiv").style.borderRightColor);
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border
CSS ရည်ညွှန်းချက်- ဘောင်-ညာ-အရောင် ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- နယ်စပ်ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု