## border-bottom border-bottom 简写属性把下边框的所有属性:border-bottom-color,border-bottom-style 与 border-bottom-width 设置到了一个声明中。这些属性描述了元素的下边框样式。 ### uni-app x 兼容性 Web: 4.0; Android: 3.9; iOS: 4.11; HarmonyOS: 4.61 ### App平台拍平(flatten)兼容性 @flatten_compatibility | Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) | | :- | :- | :- | | 5.21 | 5.11 | 5.0 | ### 语法 ``` border-bottom: || || ; ``` ### 值限制 - length - line-width - line-style - color ### 示例 示例为[hello uni-app x alpha分支](https://gitcode.com/dcloud/hello-uni-app-x/blob/prod_alpha/pages/CSS/border/border-bottom.uvue),与最新HBuilderX Alpha版同步。与最新正式版同步的master分支示例[另见](https://gitcode.com/dcloud/hello-uni-app-x/blob/master//pages/CSS/border/border-bottom.uvue) ::: preview https://hellouniappx.dcloud.net.cn/web/#/pages/CSS/border/border-bottom > appRedirect https://hellouniappx.dcloud.net.cn/appredirect.html?path=pages/CSS/border/border-bottom >示例 ```vue ``` ::: ### 参见 - [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom) - [相关 Bug](https://issues.dcloud.net.cn/?mid=css.properties.border.border-bottom)