border-top
介绍
用于设置上边框相关样式,该属性可按顺序设置 border-top-width、border-top-style、border-top-color。
使用示例
语法
取值
可按顺序设置如下属性:
-
border-top-width边框的宽度 -
border-top-style边框的样式 -
border-top-color边框的颜色
形式定义
| 初始值 | 0 |
| 适用元素 | all elements |
| 是否支持继承 | no |
| 是否支持动画 | no |
形式语法
与 Web 的区别
不支持 inherit、initial、revert、unset 等
兼容性
LCD tables only load in the browser
