Perbatasan gayaBottomRightRadius Property
Contoh
Tambahkan batas bulat ke sudut kanan bawah elemen div:
document.getElementById("myDIV").style.borderBottomRightRadius = "25px";
Definisi dan Penggunaan
Properti borderBottomRightRadius menyetel atau mengembalikan bentuk batas sudut kanan bawah.
Tip: Properti ini memungkinkan Anda untuk menambahkan batas bulat ke elemen!
Dukungan Peramban
Angka-angka dalam tabel menentukan versi browser pertama yang sepenuhnya mendukung properti.
Angka yang diikuti oleh Webkit, Moz, atau O menentukan versi pertama yang berfungsi dengan awalan.
Property | |||||
---|---|---|---|---|---|
borderBottomRightRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
Sintaksis
Kembalikan properti borderBottomRightRadius:
object.style.borderBottomRightRadius
Setel properti borderBottomRightRadius:
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
Nilai properti
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 |
Detail Teknis
Nilai Bawaan: | 0 |
---|---|
Nilai Kembali: | Sebuah String, mewakili properti radius border-bottom-right-radius dari suatu elemen |
Versi CSS | CSS3 |
Halaman Terkait
Referensi CSS: properti border-bottom-right-radius