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

    介绍

    用于添加圆角边框。

    使用示例

    Syntax

    border: solid 10px;
    border-radius: 10px 40px 40px 10px;
    border: groove 1em red;
    border-radius: 2em;

    取值

    形式定义

    初始值0
    适用元素all elements
    是否支持继承no
    是否支持动画no

    形式语法

    [<length> | <percentage>]{1, 2}

    与 Web 的区别

    不支持 inherit、initial、revert、unset 等

    兼容性

    LCD tables only load in the browser

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