通过设置多个点的坐标位置来绘制图形的形状

  .box{

    clip-path:polygon(x1 y1, x2 y2, x3 y3, , , , , ,)
    backgroud-color:red;

  }

  css clip-path的polygon属性绘制多边形

       css clip-path的polygon属性绘制多边形

 

相关文章: