0
私は矢印でこの箱を持っている:divの前に矢印の枠線を追加する方法は?
#div1 {
position: fixed;
width: 140px;
min-height: 100px;
max-height: 400px;
background: #fff;
color: #000;
border: 1px solid #ccc;
//border-top:none;
z-index: 3000;
}
#div1:before {
content: "";
vertical-align: middle;
margin: auto;
position: absolute;
left: 0;
right: 0;
bottom: 100%;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #fff;
}
<div id=div1></div>
私は矢印が#div1
(1px solid #ccc
)と同じ境界線を持つようにしたいが、それは白です。
どのように私は矢印に罫線の色を追加できますか?
[境界内CSSの境界](http://stackoverflow.com/questions/18057669/border-withinborder-css)の可能な複製 – Persijn