ပုံစံ ဘောင်ImageRepeat ပိုင်ဆိုင်မှု
ဥပမာ
ပုံ-ဘောင်ကို ပြန်လုပ်နည်းကို သတ်မှတ်ပါ-
document.getElementById("myDIV").style.borderImageRepeat = "round";
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
borderImageRepeat ပိုင်ဆိုင်မှုသည် ပုံ-ဘောင်ကို ထပ်ခါထပ်ခါ၊ အဝိုင်း သို့မဟုတ် ဆန့်သင့်သည်ဖြစ်စေ သတ်မှတ် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
borderImageRepeat | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
အဲဒီအစား borderImage property ကို ကြည့်ပါ ။
အထားအသို
borderImageRepeat ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ။
object.style.borderImageRepeat
borderImageRepeat ကို သတ်မှတ်ပါ-
object.style.borderImageRepeat = "stretch|repeat|round|initial|inherit"
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
stretch | Default value. The image is stretched to fill the area |
repeat | The image is tiled (repeated) to fill the area |
round | The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so it fits |
space | The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles |
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 ရည်ညွှန်းချက်- border-image-repeat ပိုင်ဆိုင်မှု