小三角组成原理:
利用border给四个边框设置颜色如图所示:
若需要上箭头的话则要把border-top的属性设为none,左边和右边的属性设为transparent(透明色)
.box1{
width: 0p
2021-08-05