試圖從內部圖像遮蔽底部的三角形。 (我想看看在三角形的圖像)的水平在中間朝下在圖像底部遮蓋出三角形
HTML
<div id="last-img">
. . . image here . . .
</div>
CSS
#last-img {
position: relative;
overflow: visible;
border-bottom: 10px solid white;
border-color: white transparent white white;
}
#last-img::before,
#last-img::after {
content: '';
display: block;
position: absolute;
bottom: -10px;
right: -10px; left:auto;
border: 10px solid white;
border-color: transparent transparent white transparent;
}
#last-img::before {
top: -10px;
bottom: 50%;
}
#last-img::after {
top: 50%;
bottom: -10px;
}
Perhap syou可以證明我們的** **預期結果。目前你的要求不明確 –