怎么出现小三角
1.设置一个包含块
.comment-reply {
margin: 2.666667vw 0;
padding: 2.666667vw;
border-radius: 1.066667vw;
background: #f3f3f3;
position: relative;
font-size: 0.8rem;
line-height: normal;
}
2.在包含块的基础上进行定位设置
.comment-reply::after {
content: " ";
position: absolute;
bottom: 100%;
left: 4vw;
width: 0;
height: 0;
border-style: solid;
border-width: 2.133333vw;
border-color: transparent transparent #f3f3f3;
}
3.最终成果展示