CSS border-bottom-right-radius Property
ဥပမာ
<div> ဒြပ်စင်နှစ်ခု၏ အောက်ခြေ-ညာဘက်ထောင့်တွင် လုံးဝန်းသောဘောင်များကို ထည့်ပါ-
#example1 {
border: 2px solid red;
border-bottom-right-radius: 25px;
}
#example2 {
border: 2px solid red;
border-bottom-right-radius: 50px
20px;
}
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
border-bottom-right-radius
ပိုင်ဆိုင်မှုသည် အောက်ခြေညာဘက်ထောင့်၏ အချင်းဝက်ကို သတ်မှတ်သည် ။
အကြံပြုချက်- ဤပိုင်ဆိုင်မှုသည် သင့်အား ဒြပ်စင်များသို့ လုံးဝန်းသောဘောင်များထည့်နိုင်စေပါသည်။
မူလတန်ဖိုး: | ၀ယ်တယ်။ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.borderBottomRightRadius="25px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
-webkit- သို့မဟုတ် -moz- ဖြင့်လိုက်သောနံပါတ်များကို ရှေ့ဆက်တွဲဖြင့်လုပ်ဆောင်သော ပထမဆုံးဗားရှင်းကို သတ်မှတ်ပါ။
Property | |||||
---|---|---|---|---|---|
border-bottom-right-radius | 5.0 4.0 -webkit- |
9.0 | 4.0 3.0 -moz- |
5.0 3.1 -webkit- |
10.5 |
CSS Syntax
border-bottom-right-radius: length|% [length|%]|initial|inherit;
မှတ်ချက်- တန်ဖိုးနှစ်ခုကို သတ်မှတ်ပါက ပထမတစ်ခုသည် အောက်ခြေဘောင်အတွက်ဖြစ်ပြီး ဒုတိယတစ်ခုသည် ညာဘက်ဘောင်အတွက်ဖြစ်သည်။ ဒုတိယတန်ဖိုးကို ချန်လှပ်ထားပါက ၎င်းကို ပထမမှ ကူးယူသည်။ အလျားနှစ်ခုလုံးသည် သုညဖြစ်ပါက၊ ထောင့်သည် စတုရန်းဖြစ်ပြီး လုံးဝန်းမည်မဟုတ်ပါ။
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
length | Defines the shape of the bottom-right corner. Default value is 0. Read about length units | |
% | Defines the shape of the bottom-right corner in % | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
နောက်ထပ် ဥပမာများ
ဥပမာ
ရာခိုင်နှုန်းဖြင့် အောက်ခြေ-ညာဘက်ထောင့်တွင် အဝိုင်းသားဘောင်များကို ထည့်ပါ-
#example1 {
border: 2px solid red;
background: url(paper.gif);
padding: 10px;
border-bottom-right-radius: 40%;
}
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Rounded Corners
HTML DOM ရည်ညွှန်းချက်- borderBottomRightRadius ပိုင်ဆိုင်မှု