HTML DOM Style borderBottomLeftRadius 属性

[

Style borderBottomLeftRadius 属性
Style 对象

实例

向 div 元素的左下角添加圆角边框:


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

定义和用法

borderBottomLeftRadius 属性设置或返回左下角边框的形状。
提示:该属性允许您向元素添加圆角边框!

浏览器支持

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 对象

]
转载请保留页面地址:https://www.breakyizhan.com/html/22200.html
原文地址:https://www.cnblogs.com/breakyizhan/p/13263257.html