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 许可协议进行许可。