参考:纯 CSS 实现绘制各种三角形(各种角度) 掌握原理很重要!!!然后学会灵活变通。 实例1 #demo { width: 0; height: 0; border-width: 20; border-style: "solid"; border-color: transparent tran