For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/css/properties/border-bottom.md.
Lynx
  • 简体中文
  • border-bottom

    介绍

    用于设置下边框相关样式,该属性可按顺序设置 border-bottom-widthborder-bottom-styleborder-bottom-color

    使用示例

    语法

    /* 下边框是粗双线红边框 */
    border-bottom: thick double red;
    
    /* 下边框是细点线蓝边框 */
    border-bottom: thin dotted blue;
    
    /* 下边框是10px虚线橙边框 */
    border-bottom: 10px dashed orange;

    取值

    按语法顺序接受以下值类型:

    形式定义

    初始值空值
    适用元素所有元件
    是否支持继承no
    是否支持动画no

    形式语法

    
    border-bottom =
      <line-width>  ||
      <line-style>  ||
      <color>
    
    <line-width> = <length> | thin | medium | thick
    <line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
    

    与 Web 的区别

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。