clip-path
clip-path 属性使用裁剪方式创建元素的可显示区域。区域内的部分显示,区域外的隐藏。
to add points
to custom polygon.
to custom polygon.
clip-path: polygon(50% 0%
, 0% 100%
, 100% 100%
);
clip-path
clip-path: polygon(50% 0%
, 0% 100%
, 100% 100%
);