Stil borderImageRepeat Özellik
Örnek
Görüntü kenarlığının nasıl tekrarlanacağını belirtin:
document.getElementById("myDIV").style.borderImageRepeat = "round";
Tanım ve Kullanım
borderImageRepeat özelliği, image-border'ın tekrarlanması, yuvarlanması veya uzatılması gerekip gerekmediğini ayarlar veya döndürür.
Tarayıcı Desteği
Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.
Property | |||||
---|---|---|---|---|---|
borderImageRepeat | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
Bunun yerine borderImage özelliğine bakın !
Sözdizimi
borderImageRepeat özelliğini döndürün:
object.style.borderImageRepeat
borderImageRepeat özelliğini ayarlayın:
object.style.borderImageRepeat = "stretch|repeat|round|initial|inherit"
Mülk değerleri
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 |
Teknik detaylar
Varsayılan değer: | Uzatmak |
---|---|
Geri dönüş değeri: | Bir öğenin border-image-repeat özelliğini temsil eden bir String |
CSS Sürümü | CSS3 |
İlgili Sayfalar
CSS referansı: border-image-repeat özelliği