CSS ဘောင် -ပုံ-အကျယ် ပိုင်ဆိုင်မှု
ဥပမာ
ဘောင်ပုံ၏ အကျယ်ကို သတ်မှတ်ပါ-
#borderimg
{
border-image-source: url(border.png);
border-image-width: 10px;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ဘောင်ပုံ ၏ border-image-width
အကျယ်ကို သတ်မှတ်သည်။
အကြံပြုချက်- နယ်စပ်-ရုပ်ပုံ ပိုင်ဆိုင်မှု (border-image-* ဂုဏ်သတ္တိများအားလုံးကို သတ်မှတ်ခြင်းအတွက် လက်တိုပစ္စည်း) ကိုလည်း ကြည့်ရှုပါ ။
မူလတန်ဖိုး: | ၁ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.borderImageWidth="20px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
border-image-width | 15.0 | 11.0 | 13.0 | 6.0 | 15.0 |
CSS Syntax
border-image-width: number|%|auto|initial|inherit;
မှတ်ချက်border-image-width
။ _ စတုတ္ထတန်ဖိုးကို ချန်လှပ်ထားပါက၊ ၎င်းသည် ဒုတိယတန်ဖိုးနှင့် တူညီသည်။ တတိယတစ်မျိုးကိုလည်း ချန်လှပ်ထားပါက ပထမတစ်ခုနှင့် အတူတူပင်ဖြစ်ပါသည်။ ဒုတိယတစ်ခုကိုလည်း ချန်လှပ်ထားရင် ပထမတစ်ခုနဲ့ အတူတူပါပဲ။
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
length | A length unit (px) specifying the size of the border-width | |
number | Default value 1. Represents multiples of the corresponding border-width | |
% | Refers to the size of the border image area: the width of the area for horizontal offsets, the height for vertical offsets | |
auto | If specified, the width is the intrinsic width or height of the corresponding image slice | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Border ပုံများ
CSS ရည်ညွှန်းချက်- နယ်စပ်-ပုံ ပိုင်ဆိုင်မှု
CSS ရည်ညွှန်းချက်- border-image-outset ပိုင်ဆိုင်မှု
CSS ရည်ညွှန်းချက်- border-image-repeat ပိုင်ဆိုင်မှု
CSS ရည်ညွှန်းချက်- border-image-slice ပိုင်ဆိုင်မှု
CSS ရည်ညွှန်းချက်- border-image-source ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- borderImageWidth ပိုင်ဆိုင်မှု