CSS isolation Property
ဥပမာ
id="e" ဖြင့် ဒြပ်စင်အတွက် stacking context အသစ်တစ်ခု ဖန်တီးပါ-
#e {
isolation: isolate;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပစ္စည်း isolation
တစ်ခုသည် stacking အကြောင်းအရာအသစ်တစ်ခုဖန်တီးရမည်ဆိုသည်ကို ပိုင်ဆိုင်မှုက သတ်မှတ်သည်။
မှတ်ချက် ။ _ isolation
_
_
မူလတန်ဖိုး: | အော်တို |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.isolation="isolate" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
isolation | 41.0 | 79.0 | 36.0 | Yes | 30.0 |
CSS Syntax
isolation: auto|isolate|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
auto | Default. A new stacking context is created only if one of the properties applied to the element requires it |
isolate | A new stacking context must be created |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်းချက်- သီးခြားပိုင်ဆိုင်မှု