corner-bottom-left-shape
corner-bottom-left-shape
CSS 属性指定了盒子在其 border-radius
区域内的左下角形状。
有关角形状行为的完整描述和多个示例,请参见 corner-shape
简写属性页面。
语法
css
/* Keyword values */
corner-bottom-left-shape: bevel;
corner-bottom-left-shape: round;
/* superellipse() function values */
corner-bottom-left-shape: superellipse(0.7);
corner-bottom-left-shape: superellipse(-1.9);
/* Global values */
corner-bottom-left-shape: inherit;
corner-bottom-left-shape: initial;
corner-bottom-left-shape: revert;
corner-bottom-left-shape: revert-layer;
corner-bottom-left-shape: unset;
值
corner-bottom-left-shape
属性使用 <corner-shape-value>
值指定。
正式定义
在数据库中未找到值!正式语法
corner-bottom-left-shape =
<corner-shape-value>
<corner-shape-value> =
round |
scoop |
bevel |
notch |
square |
squircle |
<superellipse()>
<superellipse()> =
superellipse( <number [-∞,∞]> |
infinity |
-infinity )
示例
你可以在 corner-shape
参考页面上找到其他相关示例。
corner-bottom-left-shape
的基本用法
HTML
此示例的标记包含一个单独的 <div>
元素。
html
<div></div>
CSS
我们为盒子提供了一些基本样式,为了简洁起见,我们将其隐藏。我们还应用了 box-shadow
,border-radius
为 80px 40% 60px 20%
,以及 corner-bottom-left-shape
为 squircle
。
css
div {
box-shadow: 1px 1px 3px gray;
border-radius: 80px 40% 60px 20%;
corner-bottom-left-shape: squircle;
}
结果
渲染结果如下所示:
规范
规范 |
---|
CSS Borders and Box Decorations Module Level 4 # propdef-corner-bottom-left-shape |
浏览器兼容性
加载中…