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-left.md.
Lynx
  • 简体中文
  • border-left

    介绍

    设置元件左边框样式的简写属性,按顺序包含 border-left-widthborder-left-styleborder-left-color

    使用示例

    语法

    border-left: 1px solid red;

    取值

    可按顺序设置如下属性:

    形式定义

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

    形式语法

    border-left = <line-width> <line-style> <color>

    与 Web 的区别

    兼容性

    LCD tables only load in the browser

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