您的位置:58脚本 > html border style HTML DOM Style borderBottomRightRadius 属性

html border style HTML DOM Style borderBottomRightRadius 属性

2023-05-28 19:32

html border style HTML DOM Style borderBottomRightRadius 属性

html border style HTML DOM Style borderBottomRightRadius 属性

html border style

Style borderBottomRightRadius 属性

Style 对象参考手册 Style 对象

实例

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

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


定义和用法

borderBottomRightRadius 属性设置或返回右下角边框的形状。

提示:该属性允许您向元素添加圆角边框!


浏览器支持

Internet Explorer Firefox Opera Google Chrome Safari

IE9+、Firefox、Chrome、Safari 和 Opera 支持 borderBottomRightRadius 属性。


语法

返回 borderBottomRightRadius 属性:

object.style.borderBottomRightRadius

设置 borderBottomRightRadius 属性:

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

属性值

描述
length 定义右下角的形状。默认值是 0。
% 以 % 形式定义右下角的形状。
initial 设置该属性为它的默认值。请参阅 initial
inherit 从父元素继承该属性。请参阅 inherit

技术细节

默认值: 0
返回值: 字符串,表示元素的 border-bottom-right-radius 属性。
CSS 版本 CSS3


相关文章

CSS 参考手册:border-bottom-right-radius 属性


Style 对象参考手册 Style 对象

阅读全文
以上是58脚本为你收集整理的html border style HTML DOM Style borderBottomRightRadius 属性全部内容。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
相关文章
© 2024 58脚本 58jiaoben.com 版权所有 联系我们
桂ICP备12005667号-28 Powered by CMS