首页 > Web开发 > 详细

HTML DOM Style borderBottomLeftRadius 属性

时间:2020-07-07 21:34:21      阅读:69      评论:0      收藏:0      [点我收藏+]
[

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

HTML DOM Style borderBottomLeftRadius 属性

原文:https://www.cnblogs.com/breakyizhan/p/13263257.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!