CSS အတန်း-ကွာဟမှု ပိုင်ဆိုင်မှု
ဥပမာ
ဇယားကွက်အတန်းများကြားတွင် 50 pixels ကွာဟချက်ကို သတ်မှတ်ပါ-
div
{
display: grid;
row-gap: 50px;
}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် row-gap
ဇယားကွက်အတန်းများကြားရှိ ကွာဟချက်ကို သတ်မှတ်သည်။
အဆိုပါ row-gap
ပိုင်ဆိုင်မှုကိုယခင်ကလူသိများခဲ့သည် ။
grid-row-gap
မူလတန်ဖိုး: | ပုံမှန် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS Box Alignment Module အဆင့် ၃ |
JavaScript syntax- | အရာဝတ္ထု .style.rowGap="50px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
row-gap (in Grid) | 66 | 16 | 61 | 12.1 | 53 |
row-gap (in Flexbox) | 84 | 84 | 63 | Not supported | 70 |
CSS Syntax
row-gap: length|normal|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
length | A specified length or % that will set the gap between the rows | |
normal | Default value. Specifies a normal gap between the rows | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Grid Layout
CSS ရည်ညွှန်းချက်- ကွာဟချက် ပိုင်ဆိုင်မှု
CSS ရည်ညွှန်းချက်- ကော်လံ-ကွာဟမှု ပိုင်ဆိုင်မှု