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

    介绍

    用于设置左边框的宽度。

    使用示例

    语法

    border-left-width: thin;
    border-left-width: medium;

    取值

    • thin 细边框。

    • medium 中等边框。

    • thick 粗边框。

    • <length> 以具体的尺寸定义边框宽度

    形式定义

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

    形式语法

    border-left-width = <line-width>
    <line-width> = thin | medium | thick | <length>
    

    与 Web 的区别

    • mdn:border-left-width

    • 不支持 inherit、initial、revert、unset

    • 默认值为 0, 区别于 web 的默认值 'medium'

    兼容性

    LCD tables only load in the browser

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