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

    介绍

    border-left-color 属性设置元件的左边框颜色。值得注意的是,在大多数情况下使用 border-colorborder-left 更加方便和普遍。

    使用示例

    语法

    border-left-color: red;
    border-left-color: #ffbb00;
    border-left-color: rgb(255, 0, 0);
    border-left-color: hsla(100%, 50%, 25%, 0.75);

    取值

    形式定义

    初始值透明色
    适用元素all elements
    是否支持继承no
    是否支持动画yes

    形式语法

    <color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color>

    与 Web 的区别

    • 不支持 Global values 例如:inheritinitialunset

    兼容性

    LCD tables only load in the browser

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