
如何使这个箭头在白色div的左边。这是我尝试过的css,但它只生成一个颜色边框。
.white-box{
padding: 20px;
background: #fff;
}
.white-box:after,white-box:before{
right: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.white-box:after {
border-color: rgba(136, 183, 213, 0);
border-right-color: #88b7d5;
border-width: 30px;
margin-top: -30px;
}
.white-box:before {
border-color: rgba(194, 225, 245, 0);
border-right-color: #c2e1f5;
border-width: 36px;
margin-top: -36px;
}https://stackoverflow.com/questions/35270762
复制相似问题