三角形
/** 正三角 */.triangle { width: 0; height: 0; border-style: solid; border-width: 0 25px 40px 25px; border-color: transparent transparent rgb(245, 129, 127) transparent;}
/** 倒三角 */.triangle { width: 0; height: 0; border-style: solid; border-width: 40px 25px 0 25px; border-color: rgb(245, 129, 127) transparent transparent transparent;}
虚线太密解决方法
.dotted-line{ border: 1px dashed transparent; background: linear-gradient(white,white) padding-box, repeating-linear-gradient(-45deg,#ccc 0, #ccc .25em,white 0,white .75em);}
标签:dotted,white,width,html,25px,太密,border,transparent From: https://www.cnblogs.com/xuan52rock/p/17703117.html