
如何实现如图中的箭头?
<div class="box">
<span>城市:</span>
<span>山西</span>
</div>
.box {
position: relative;
}
.box::after {
position: absolute;
content: '';
width: 8px;
height: 8px;
top: 50%;
left: 22%;
border-left: 2px solid pink;
border-bottom: 2px solid pink;
transform: translateY(-60%) rotate(-45deg);
}