ပုံစံ flexWrap အိမ်ခြံမြေ
ဥပမာ
လိုအပ်ပါက ပြောင်းလွယ်ပြင်လွယ်ရှိသောပစ္စည်းများကို ထုပ်ပိုးပါ-
document.getElementById("main".style.flexWrap = "wrap";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
flexWrap ပိုင်ဆိုင်မှုသည် ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများကို ထုပ်ပိုးသင့်သည်ဖြစ်စေ မထုပ်ပိုးသင့်သည်ကို သတ်မှတ်သည်။
မှတ်ချက်- ဒြပ်စင်များသည် ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများမဟုတ်ပါက၊ flexWrap ပိုင်ဆိုင်မှုသည် သက်ရောက်မှုမရှိပါ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
flexWrap | Yes | 11.0 | Yes | 9.0 | Yes |
အထားအသို
flexWrap ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.flexWrap
flexWrap ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.flexWrap = "nowrap|wrap|wrap-reverse|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
nowrap | Default value. Specifies that the flexible items will not wrap |
wrap | Specifies that the flexible items will wrap if necessary |
wrap-reverse | Specifies that the flexible items will wrap, if necessary, in reverse order |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | ယခုရက် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ flex-wrap ပိုင်ဆိုင်မှုကို ကိုယ်စားပြုသော စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- flex-wrap ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flex ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexBasis ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexDirection ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexFlow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexGrow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexShrink ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု