CSS ကော်လံ-စည်းမျဉ်း-စတိုင် ပိုင်ဆိုင်မှု
ဥပမာ
ကော်လံများအကြား စည်းမျဉ်းပုံစံကို သတ်မှတ်ပါ-
div
{
column-rule-style: dotted;
}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် column-rule-style
ကော်လံများကြားရှိ စည်းမျဉ်းပုံစံကို သတ်မှတ်သည်။
မူလတန်ဖိုး: | မရှိ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.columnRuleStyle="dotted" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
-webkit- သို့မဟုတ် -moz- ဖြင့်လိုက်သောနံပါတ်များကို ရှေ့ဆက်တွဲဖြင့်လုပ်ဆောင်သော ပထမဆုံးဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
column-rule-style | 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-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
none | Default value. Defines no rule | |
hidden | Defines a hidden rule | |
dotted | Defines a dotted rule | |
dashed | Defines a dashed rule | |
solid | Defines a solid rule | |
double | Defines a double rule | |
groove | Specifies a 3D grooved rule. The effect depends on the width and color values | |
ridge | Specifies a 3D ridged rule. The effect depends on the width and color values | |
inset | Specifies a 3D inset rule. The effect depends on the width and color values | |
outset | Specifies a 3D outset rule. The effect depends on the width and color values | |
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;
}
ဥပမာ
ကော်လံများအကြား စည်းကမ်း၏ အကျယ်၊ ပုံစံနှင့် အရောင်ကို သတ်မှတ်ပါ-
div
{
column-rule: 4px double #ff00ff;
}
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Multiple Columns
HTML DOM ရည်ညွှန်းချက်- ကော်လံRuleStyle ပိုင်ဆိုင်မှု