樣式 borderBottomLeftRadius 屬性
示例
為 div 元素的左下角新增圓角邊框
document.getElementById("myDIV").style.borderBottomLeftRadius = "25px";
自己動手試一試 »
描述
borderBottomLeftRadius 屬性設定或返回元素的左下角邊框的形狀。
提示:此屬性允許您為元素新增圓角邊框!
瀏覽器支援
表中的數字指定了完全支援該屬性的第一個瀏覽器版本。
屬性 | |||||
---|---|---|---|---|---|
borderBottomLeftRadius | 5.0 | 9.0 | 4.0 | 5.0 | 10.5 |
語法
返回 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 屬性