百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 主页>网站教程>CSS教程> css border-bottom-width属性怎样运用
分享文章到:

css border-bottom-width属性怎样运用

发布时间:09/01 来源:未知 浏览: 关键词:
在css中,border-bottom-width属性是用来设定元素的底部边框宽度。

css border-bottom-width属性值

thin:细的下边框;

medium:中等的下边框(默许值);

thick :粗的下边框;

length:同意您自定义下边框的宽度;

inherit:从父元素继承边框宽度。

语法格局:

border-bottom-width:thin / medium / thick / length / inherit ;

留意:元素必需有边框才可以改动宽度(border-bottom-width属性独自使用没有结果.,要先使用border-style属性设定样式)。

实例

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>css border-bottom-width属性笔记</title>
<style>
#bbw {
border-style:solid;
border-bottom-width:10px;
}
</style>
<head/>
<body>
<p id="bbw">css border-bottom-width属性演示</p>
</body>
</html>

运转结果

f07d824f084d6569487590efd2953a6.png

以上就是css border-bottom-width属性怎样使用的具体内容,更多请关注百分百源码网其它相关文章!

打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

共有153人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助

能出一分力是一分吧!

订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板