inset() 形状可选地允许与 border-radius 类似的圆边值。此新功能在您的浏览器中可能存在错误。
inset()
border-radius
-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%); clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
您可以按照以下步骤生成 CSS clip-path代码。