-9
hr或div行之间的向上箭头。与此类似(Down arrow)<hr>带箭头的行之间指向css
我试过了。看起来我无法将箭头移动到正确位置。
我的代码:
div.hr {
width:100%;
height: 1px;
background: #7F7F7F;
position:relative;
margin-top:15px;
}
div.hr:after {
content:'';
position: absolute;
border-style: solid;
border-width: 0 15px 15px;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
top: 5px;
left: 50%;
}
div.hr:before {
content:'';
position: absolute;
border-style: solid;
border-width: 0 15px 15px;
border-color: #7F7F7F transparent;
display: block;
width: 0;
z-index: 1;
top: 4px;
left: 50%;
}
<div class="hr"></div>
呃...你有什么问题吗? –
你的问题是什么?你的代码在哪里, – smzapp
你到目前为止尝试过什么? – Senthe