剪切路径不适用于圆角吗?

时间:2019-11-21 10:53:07

标签: styling rounded-corners clip-path clippy

因此,我使用了剪贴蒙版制作了一个具有不同形状的按钮。但是左下角和右下角需要弄圆一些。

我的代码如下

clip-path: polygon(0 0, 100% 0%, 100% 60%, 0 45%);   border-radius: 0px 0px 15px 15px;

但是它不起作用。当我在剪切路径中删除0时,他将删除形状。

As you can see in the image the corners in the left bottom and right bottom aren't rounded

有人可以帮助我吗?

谢谢!

0 个答案:

没有答案