สไตล์เส้นขอบBottomRightRadius Property
ตัวอย่าง
เพิ่มเส้นขอบโค้งมนที่มุมล่างขวาขององค์ประกอบ div:
document.getElementById("myDIV").style.borderBottomRightRadius = "25px";
ความหมายและการใช้งาน
borderBottomRightRadius คุณสมบัติตั้งค่าหรือส่งกลับรูปร่างของเส้นขอบของมุมล่างขวา
เคล็ดลับ:คุณสมบัตินี้ช่วยให้คุณเพิ่มเส้นขอบโค้งมนให้กับองค์ประกอบได้!
รองรับเบราว์เซอร์
ตัวเลขในตารางระบุเบราว์เซอร์รุ่นแรกที่สนับสนุนคุณสมบัติอย่างสมบูรณ์
Numbers ตามด้วย Webkit, Moz หรือ O ระบุเวอร์ชันแรกที่ใช้งานได้กับคำนำหน้า
Property | |||||
---|---|---|---|---|---|
borderBottomRightRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
ไวยากรณ์
ส่งคืนคุณสมบัติ borderBottomRightRadius:
object.style.borderBottomRightRadius
ตั้งค่าคุณสมบัติ borderBottomRightRadius:
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
มูลค่าทรัพย์สิน
Value | Description |
---|---|
length | Defines the shape of the bottom-right corner. Default value is 0 |
% | 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 |
รายละเอียดทางเทคนิค
ค่าเริ่มต้น: | 0 |
---|---|
คืนมูลค่า: | สตริงที่แสดงถึงคุณสมบัติ border-bottom-right-radius ขององค์ประกอบ |
เวอร์ชัน CSS | CSS3 |
หน้าที่เกี่ยวข้อง
การอ้างอิง CSS: border-bottom-right-radius property