Style borderBottomLeftRadius 屬性

Style 對象參考手冊 Style 對象

實例

向 div 元素的左下角添加圓角邊框:

document.getElementById("myDIV").style.borderBottomLeftRadius="25px";


定義和用法

borderBottomLeftRadius 屬性設置或返回左下角邊框的形狀。

提示:該屬性允許您向元素添加圓角邊框!


流覽器支持

Internet Explorer Firefox Opera Google Chrome Safari

IE9+、Firefox、Chrome、Safari 和 Opera 支持 borderBottomLeftRadius 屬性。


語法

返回 borderBottomLeftRadius 屬性:

object.style.borderBottomLeftRadius

設置 borderBottomLeftRadius 屬性:

object.style.borderBottomLeftRadius="length|% [length|%]|initial|inherit"

屬性值

描述
length 定義左下角的形狀。默認值是 0。
% 以 % 形式定義左下角的形狀。
initial 設置該屬性為它的默認值。請參閱 initial
inherit 從父元素繼承該屬性。請參閱 inherit

技術細節

默認值: 0
返回值: 字串,表示元素的 border-bottom-left-radius 屬性。
CSS 版本 CSS3


相關文章

CSS 參考手冊:border-bottom-left-radius 屬性


Style 對象參考手冊 Style 對象