ပုံစံ ကော်လံGap အိမ်ခြံမြေ
ဥပမာ
ကော်လံများကြား 40 pixels ကွာဟချက်ကို သတ်မှတ်ပါ-
document.getElementById("myDIV").style.columnGap = "50px";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
columnGap ပိုင်ဆိုင်မှုသည် ကော်လံများကြား ကွာဟချက်ကို သတ်မှတ်သည်။
မှတ်ချက်- ကော်လံများကြားတွင် ကော်လံစည်းမျဉ်းတစ်ခုရှိနေပါက၊ ၎င်းသည် ကွာဟချက်၏အလယ်တွင် ပေါ်လာမည်ဖြစ်သည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
columnGap | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
အထားအသို
columnGap ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ-
object.style.columnGap
columnGap ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.columnGap = "length|normal|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
length | A specified length that will set the gap between the columns |
normal | Default value. Specifies a normal gap between the columns. W3C suggests a value of 1em |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | ပုံမှန် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ ကော်လံ-ကွာဟမှုကို ကိုယ်စားပြုသည့် စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS3 သင်ခန်းစာ- CSS3 ကော်လံများစွာ
CSS ရည်ညွှန်းချက်- ကော်လံ-ကွာဟမှု ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု