我通过CSS创建了一个Rectangular Box。但是那个矩形周围有一个边框。我该如何删除它? http://jsfiddle.net/allegrissimo123/LcfdA/
.divider{
height: 10px;
background: #eaeaea;
position: relative;
margin-top: 50px;
}
.divider:after{
content:'';
display: block;
position: absolute;
top: -40px;
left: 50%;
width: 0;
height: 0;
margin-left: -20px;
border-color: transparent transparent #eaeaea transparent;
border-style: solid;
border-width: 20px;
}
答案 0 :(得分:0)
得到解决方案。
border-color: transparent transparent #eaeaea transparent;
border-color: rgba(255,255,255,0) rgba(255,255,255,0) #eaeaea rgba(255,255,255,0);