3 回答

TA贡献1828条经验 获得超4个赞
利用三角形就可以了!
.bubble {
position: relative;
padding: 8px 16px;
background: #f7f7f7;
border: 1px solid #ccc;
}
.bubble:before {
content: '';
position: absolute;
display: block;
bottom : -10.5px;
right: 0;
width: 0;
height: 0;
border-top: 12px solid #f7f7f7;
border-left: 12px solid transparent;
z-index: 10;
}
.bubble:after {
content: '';
position: absolute;
display: block;
bottom : -13px;
right: -1px;
width: 0;
height: 0;
border-top: 13px solid #ccc;
border-left: 13px solid transparent;
}
- 3 回答
- 0 关注
- 415 浏览
添加回答
举报