我想获得透明背景的文本泡泡。所以我用边界来完成这件事。现在我想在中间的底部边框处有一个小箭头。但是当我用伪::after
添加这个时,边框底部将覆盖透明图像。为了更好地理解,请查看下面的图片。底部边框透明图像
CSS:
.case-study .testimonial blockquote {
margin: 60px 0;
border: 4px solid #FFF;
text-align: center;
position: relative;
}
.case-study .testimonial blockquote::after {
height: 20px;
width: 20px;
background: url('../images/blockquote-arrow.png') no-repeat center;
position: absolute;
bottom: -14px;
left: 50%;
content: "";
display: block;
}
我希望它可以像下面的图片:
谢谢。
我想听到的想法,但是......你想过在底部(与4PX边框和箭头透明图像)使用不同的形象?附:完全像你的示例图像,只是透明?) – sinisake
我不明白你。但是,如果我有它的好,你建议为边界底部创建一个图像,在中间有一个箭头和自定义边框?或者你是什么意思?如果我明白你的错误,我很抱歉。 @nevermind – Caspert