ပိုင်ဆိုင်မှု ပုံစံ ကို အရွယ်အစားပြောင်း ပါ။
ဥပမာ
<div> ဒြပ်စင်တစ်ခုကို အရွယ်အစားပြောင်းနိုင်စေရန် ပြုလုပ်ပါ-
document.getElementById("myDIV").style.resize = "both";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
အရွယ်အစားပြောင်းလဲခြင်း ပိုင်ဆိုင်မှုသည် အသုံးပြုသူမှ ဒြပ်စင်တစ်ခုအား အရွယ်အစားပြောင်းလဲနိုင်သည်ဖြစ်စေ မသတ်မှတ်သည်ကို သတ်မှတ်သည်။
မှတ်ချက် ။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
resize | Yes | 79.0 | Yes | Yes | 15.0 |
အထားအသို
အရွယ်အစားပြောင်းလဲထားသော ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.resize
အရွယ်အစားပြောင်းလဲခြင်း ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.resize = "none|both|horizontal|vertical|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
none | Default value. The user cannot resize the element |
both | The user can adjust both the height and the width of the element |
horizontal | The user can adjust the width of the element |
vertical | The user can adjust the height of the element |
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 ရည်ညွှန်းချက်- ပိုင်ဆိုင်မှုကို အရွယ်အစားပြောင်း ပါ။
❮ စတိုင်အရာဝတ္ထု