三角形有三个顶点,因此 polygon 需要传三个参数,每个参数是顶点的x 和y 轴位置百分比: #triangle-1 { clip-path: polygon(50% 0, 100% 100%, ...
確定! 回上一頁