CSS ကော်လံ-စည်းမျဉ်း ပိုင်ဆိုင်မှု
ဥပမာ
ကော်လံများအကြား စည်းကမ်း၏ အကျယ်၊ ပုံစံနှင့် အရောင်ကို သတ်မှတ်ပါ-
div
{
column-rule: 4px double #ff00ff;
}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
column-rule
ပိုင်ဆိုင်မှုသည် ကော်လံများကြားတွင် စည်းကမ်း၏ အကျယ်၊ ပုံစံနှင့် အရောင်တို့ကို သတ်မှတ်ပေးသည် ။
ဤပိုင်ဆိုင်မှုသည်- အတွက် လက်တိုပိုင်ဆိုင်မှုတစ်ခုဖြစ်သည်။
ကော်လံ-စည်းမျဉ်း-အရောင်ကို ချန်လှပ်ထားပါက၊ ထည့်သွင်းထားသောအရောင်သည် စာသား၏အရောင်ဖြစ်လိမ့်မည်။
မူလတန်ဖိုး: | အလယ်အလတ်မရှိသော အရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်ကဲ့၊ တစ်ဦးချင်းဂုဏ်သတ္တိများကိုကြည့်ပါ ။ ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.columnRule="3px အစကတည်းက အပြာရောင်" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
-webkit- သို့မဟုတ် -moz- ဖြင့်လိုက်သောနံပါတ်များကို ရှေ့ဆက်တွဲဖြင့်လုပ်ဆောင်သော ပထမဆုံးဗားရှင်းကို သတ်မှတ်ပါ။
Property | |||||
---|---|---|---|---|---|
column-rule | 50.0 4.0 -webkit- |
10.0 | 52.0 2.0 -moz- |
9.0 3.1 -webkit- |
37.0 15.0 -webkit 11.1 |
CSS Syntax
column-rule: column-rule-width column-rule-style column-rule-color|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
column-rule-width | Sets the width of the rule between columns. Default value is medium |
column-rule-style | Sets the style of the rule between columns. Default value is none |
column-rule-color | Sets the color of the rule between columns. Default value is the color of the element |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နောက်ထပ် ဥပမာများ
ဥပမာ
<div> ဒြပ်စင်တစ်ခုတွင် စာသားကို ကော်လံသုံးခုသို့ ပိုင်းခြားပါ။
div
{
column-count: 3;
}
ဥပမာ
ကော်လံများကြား 40 pixels ကွာဟချက်ကို သတ်မှတ်ပါ-
div
{
column-gap: 40px;
}
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Multiple Columns
HTML DOM ရည်ညွှန်းချက်- ကော်လံစည်းမျဉ်း ပိုင်ဆိုင်မှု