css border-radius属性是一个简写属性,用于设置四个 border-*-radius 属性,其语法是语法border-radius: 1-4 length|% / 1-4 length|%。

css border-radius属性怎么用?
作用:简写属性,用于设置四个 border-*-radius 属性。
语法:
border-radius: 1-4 length|% / 1-4 length|%;
说明:
立即学习“前端免费学习笔记(深入)”;
length 定义圆角的形状。
% 以百分比定义圆角的形状。
注释:
按此顺序设置每个 radii 的四个值。如果省略 bottom-left,则与 top-right 相同。如果省略 bottom-right,则与 top-left 相同。如果省略 top-right,则与 top-left 相同。
css border-radius属性使用示例
border-radius 属性允许您向元素添加圆角。
效果输出:











