快速绘制三角形
作者:互联网
clip-path:polygon() 多边形裁剪
span.shape{ width: 100px; height: 100px; float: left; padding: 20px; margin: 10px; shape-outside: padding-box; background: greenyellow; /*圆形 clip-path: circle(50%); */ /*多变形 */ clip-path: polygon(50% 0,100% 100%,0 100%); }标签:polygon,clip,绘制,100%,100px,shape,path,三角形,快速 来源: https://www.cnblogs.com/daxiong182/p/16145994.html