中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

Style borderImageWidth 屬性

Style 對象參考手冊 Style 對象

實(shí)例

規(guī)定圖像邊框的寬度:

document.getElementById("myDIV").style.borderImageWidth="20px 30px";

運(yùn)行代碼 ?

定義和用法

borderImageWidth 屬性規(guī)定圖像邊框的寬度。


瀏覽器支持

Internet Explorer Firefox Opera Google Chrome Safari

Opera 不支持 borderImageWidth 屬性。

Internet Explorer 10 及其之前的版本不支持 borderImageWidth 屬性。

Safari 5 及其之前的版本不支持 borderImageWidth 屬性。

請參閱 borderImage 屬性來替代它!


語法

返回 borderImageWidth 屬性:

object.style.borderImageWidth

設(shè)置 borderImageWidth 屬性:

object.style.borderImageWidth="number|%|auto|initial|inherit"

屬性值

描述
length 一個(gè)規(guī)定邊框?qū)挾却笮〉拈L度單位(px)。A length unit (px) specifying the size of the border-width
number 默認(rèn)值是 1。表示相應(yīng)的邊框?qū)挾鹊谋稊?shù)。
% 相對于邊框圖像區(qū)域大小的百分比:水平偏移參照區(qū)域的寬度,垂直偏移參照區(qū)域的高度。
auto 如果規(guī)定了該屬性,寬度是相應(yīng)圖像切片固有的寬度或高度。
initial 設(shè)置該屬性為它的默認(rèn)值。請參閱 initial
inherit 從父元素繼承該屬性。請參閱 inherit。

技術(shù)細(xì)節(jié)

默認(rèn)值: 1
返回值: 字符串,表示元素的 border-image-width 屬性。
CSS 版本 CSS3

相關(guān)文章

CSS 參考手冊:border-image-width 屬性


Style 對象參考手冊 Style 對象

其他擴(kuò)展