ပုံစံ flexFlow ပိုင်ဆိုင်မှု
ဥပမာ
ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများကို ကော်လံများတွင် ပြသစေပြီး ထုပ်ပိုးခြင်းမပြုပါနှင့်။
document.getElementById("main").style.flexFlow = "column nowrap";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
flexFlow ပိုင်ဆိုင်မှုသည် flexDirection နှင့် flexWrap ဂုဏ်သတ္တိများအတွက် အတိုကောက်ပိုင်ဆိုင်မှုတစ်ခုဖြစ်သည်။
flexDirection ပိုင်ဆိုင်မှုသည် ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများ၏ ဦးတည်ချက်ကို သတ်မှတ်သည်။
flexWrap ပိုင်ဆိုင်မှုသည် ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများကို ထုပ်ပိုးသင့်သည်ဖြစ်စေ မထုပ်ပိုးသင့်သည်ကို သတ်မှတ်သည်။
မှတ်ချက်- ဒြပ်စင်များသည် ပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများမဟုတ်ပါက၊ flexFlow ပိုင်ဆိုင်မှုသည် သက်ရောက်မှုမရှိပါ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
flexFlow | Yes | 11.0 | Yes | 9.0 | Yes |
အထားအသို
flexFlow ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.flexFlow
flexFlow ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.flexFlow = "flex-direction flex-wrap|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
flex-direction | Possible values: row row-reverse column column-reverse initial inherit Default value is "row". Specifying the direction of the flexible items |
flex-wrap | Possible values: nowrap wrap wrap-reverse initial inherit Default value is "nowrap". Specifying whether the flexible items should wrap or not |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | အတန်း ယခုရက် |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ flex-flow ပိုင်ဆိုင်မှုကို ကိုယ်စားပြုသော စာတန်း |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- flex-flow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flex ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexBasis ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexDirection ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexGrow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexShrink ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexWrap ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု