<div class="test">
<span></span>
</div>
.test {
position: relative;
width: 120px;
height: 249px;
background-color: aquamarine;
margin: 100px auto;
border-radius: 5px;
}
.test span {
position: absolute;
width: 0;
height: 0;
/* 兼容性问题 */
line-height: 0;
font-size: 0;
border: 10px solid transparent;
border-bottom-color: aquamarine;
right: 15px;
top: -20px;
}