Style borderLeft attribute

Definition and usage

borderLeft Set attributes in shorthand form or return up to three separate border-left attributes.

Through this attribute, you can set/return the following one or more (in any order):

also see:

CSS အခန်းကျမ်းCSS ပေါ်လွှာ

CSS ဂျာနယ်များborder-left အားကစား

HTML DOM ဂျာနယ်များborder အားကစား

instance

example 1

add border-left to <div> အားကစား

document.getElementById("myDiv").style.borderLeft = "thick solid #0000FF";

ကိုယ်တိုင် ကြိုးပမ်းကြည့်

example 2

change <div> အားကစား ဘယ်ရှိ အထိပ်အဝန်း အအောင်ဆိုး အရောင် ကြမ်းကြော်

document.getElementById("myDiv").style.borderLeft = "thin dotted red";

ကိုယ်တိုင် ကြိုးပမ်းကြည့်

example 3

return <div> အားကစား ပြန်လိုက် border-left အားကစား:

alert(document.getElementById("myDiv").style.borderLeft);

ကိုယ်တိုင် ကြိုးပမ်းကြည့်

ပုံစံ

borderLeft အားကစား ကို ပြန်လိုက်

object.style.borderLeft

borderLeft အားကစား ကို ကြမ်းကြော်

object.style.borderLeft = "width style color|initial|inherit"

အကိုရိယ အားကစား

အားကစား ဖော်ပြ
width ဘယ်ရှိ အထိပ်အဝန်း ကြမ်းကြော်
style ဘယ်ရှိ အအောင်ဆိုး ကြမ်းကြော်
color ဘယ်ရှိ အရောင် ပြင်းပြီး ကြမ်းကြော်
initial。 အခြား ပါးအားကစား ကို ပုံစံပေးတ်တ် ပြီး ပုံစံပေးတ်တ် အားကစား ကို လျှောက်ထားသည်။ ကျမ်းကြည်းတင်သုံးခြင်း ကို ကြည့်ရမည်။ initial
inherit ပြင်းပြီး ကိုယ်စားပြု ပါးအားကစား ပြီး အခြား ပါးအားကစား ကို လျှောက်ထားသည်။ ကျမ်းကြည်းတင်သုံးခြင်း ကို ကြည့်ရမည်။ inherit

နည်းပါး စာကြိုး

ပုံစံပေးတ်တ် အားကစား မဆိုခဲ့
အပြန်လိုက် အားကစား သီးခြား သုံးသပ် ပြီး အစိုးရ အားကစား သုံးနည်း နှင့်/သို့မဟုတ် အရောင်
CSS ပုံစံပေးတ်တ်: CSS1

ဘရောက်တာ ထောက်ပံ့

ချူးမီ အင်္ဂါ ဖရက်ခရုဝ ဆာဖာ အိုပရာ
ချူးမီ အင်္ဂါ ဖရက်ခရုဝ ဆာဖာ အိုပရာ
ထောက်ပံ့ ထောက်ပံ့ ထောက်ပံ့ ထောက်ပံ့ ထောက်ပံ့