div盒子的内三角的制作
.advanteage-content{
top: 0.8rem;
left: -0.2rem;
&::before{
position: absolute;
top: 0;
left: -0.01rem;
width: 0;
height: 0;
border-top: 0.4rem solid #F8F8FA;
border-bottom: none;
border-left: none;
border-right: 0.4rem solid transparent;
content: '';
}
&::after{
position: absolute;
bottom: 0;
right: -0.01rem;
width: 0;
height: 0;
border-top: none;
border-bottom: 0.4rem solid #F8F8FA;
border-left: 0.4rem solid transparent;
border-right: none;
content: '';
}
}