ပုံစံ နောက်ခံ Clip Property
ဥပမာ
နောက်ခံပန်းချီဧရိယာကို သတ်မှတ်ပါ-
document.getElementById("myDIV").style.backgroundClip = "content-box";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
backgroundClip ပိုင်ဆိုင်မှုသည် နောက်ခံပန်းချီဧရိယာကို သတ်မှတ်ပေးသည် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
backgroundClip | 4.0 | 9.0 | 4.0 | 3.0 | 10.5 |
အထားအသို
နောက်ခံကလစ် ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.backgroundClip
နောက်ခံClip ပိုင်ဆိုင်မှုကို သတ်မှတ်ပါ-
object.style.backgroundClip = "border-box|padding-box|content-box|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
border-box | Default value. The background is clipped to the border box |
padding-box | The background is clipped to the padding box |
content-box | The background is clipped to the content box |
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 ရည်ညွှန်းချက်- နောက်ခံ-ကလစ် ပိုင်ဆိုင်မှု