Style order Property ၊
ဥပမာ
ပြောင်းလွယ်ပြင်လွယ်ရှိသော ပစ္စည်းများ၏ အစီအစဥ်ကို သတ်မှတ်ပါ-
document.getElementById("myRedDIV").style.order = "4";
document.getElementById("myBlueDIV").style.order = "3";
document.getElementById("myGreenDIV").style.order = "1";
document.getElementById("myPinkDIV").style.order = "2";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
မှာယူမှု ပိုင်ဆိုင်မှုသည် တူညီသော ကွန်တိန်နာအတွင်းရှိ အခြားပြောင်းလွယ်ပြင်လွယ်ရှိသော အရာများနှင့် သက်ဆိုင်သည့် ပြောင်းလွယ်ပြင်လွယ် ပစ္စည်းတစ်ခု၏ အမှာစာကို သတ်မှတ်သည်။
မှတ်ချက် ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
order | Yes | 12.0 | Yes | Yes | Yes |
အထားအသို
မှာယူမှုပိုင်ဆိုင်မှုကို ပြန်ပေးပါ-
object.style.order
မှာယူမှုပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.order = "number|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
number | Default value 0. Specifies the order for the flexible item |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
နည်းပညာဆိုင်ရာအသေးစိတ်
မူလတန်ဖိုး: | ၀ယ်တယ်။ |
---|---|
ပြန်ပို့တန်ဖိုး- | ဒြပ်စင်တစ်ခု၏ အမှာစာပိုင်ဆိုင်မှုကို ကိုယ်စားပြုသော စာကြောင်းတစ်ခု |
CSS ဗားရှင်း | CSS3 |
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- အမိန့်ပိုင်ဆိုင်မှု
HTML DOM ပုံစံ အကိုးအကား- အကြောင်းအရာ ပိုင်ဆိုင်မှုကို ချိန်ညှိပါ ။
HTML DOM STYLE အကိုးအကား- alignItems ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- မိမိကိုယ်ကို ပိုင်ဆိုင်မှုကို ညှိပါ ။
HTML DOM STYLE အကိုးအကား- flex ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexBasis ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexDirection ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexFlow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexGrow ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexShrink ပိုင်ဆိုင်မှု
HTML DOM STYLE အကိုးအကား- flexWrap ပိုင်ဆိုင်မှု
❮ စတိုင်အရာဝတ္ထု