“Pr border bottom style”的版本间差异
本页内容
(创建页面,内容为“{{DISPLAYTITLE:border-bottom-style}}7 = CSS border-bottom-style 属性 = 设置底部边框样式: <sample title="" desc="" lang="html" hererun="1"> p { border-style:solid; border-bottom-style:dotted; } </sample> <run name=""> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> <style> p {border-style:solid;} p.none {border-bottom-style:none;} p.dotted {border-bottom-style:dotted;}…”) |
无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
{{DISPLAYTITLE:border-bottom-style}}[[Category:css | {{DISPLAYTITLE:border-bottom-style}}[[Category:css reference|51]] | ||
= CSS border-bottom-style 属性 = | = CSS border-bottom-style 属性 = | ||
第66行: | 第66行: | ||
{| class="table table-striped table-hover" | {| class="table table-striped table-hover" | ||
! 属性 | ! 属性 | ||
! | ! Chrome | ||
! | ! Internet Explorer / Edge | ||
! | ! Firefox | ||
! | ! Safari | ||
! | ! Opera | ||
|- | |- | ||
| border-bottom-style | | border-bottom-style |
2022年8月19日 (五) 04:43的最新版本
CSS border-bottom-style 属性
设置底部边框样式:
示例
p
{
border-style:solid;
border-bottom-style:dotted;
}
属性定义及使用说明
border-bottom-style属性设置元素底部边框样式。
默认值: | not specified |
继承: | no |
版本: | CSS1 |
JavaScript 语法: | object object.style.borderBottomStyle="dotted" |
浏览器支持
表格中的数字表示支持该属性的第一个浏览器版本号。
属性 | Chrome | Internet Explorer / Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
border-bottom-style | 1.0 | 5.5 | 1.0 | 1.0 | 9.2 |
属性值
值 | 说明 |
---|---|
none | 指定无边框 |
hidden | 与"none" 相同。不过应用于表时除外,对于表,hidden 用于解决边框冲突。 |
dotted | 指定点状边框 |
dashed | 指定虚线边框 |
solid | 指定实线边框 |
double | 指定一个双边框 |
groove | 定义双线。双线的宽度等于 border-width 的值 |
ridge | 定义三维菱形边框。其效果取决于 border-color 的值 |
inset | 定义三维凹边框。其效果取决于 border-color 的值 |
outset | 定义三维凸边框。其效果取决于 border-color 的值 |
inherit | 指定应该从父元素继承边框样式 |
相关文章
CSS 教程: CSS Border
CSS 参考手册: border-bottom 属性