I am struggling to create an arrangement of three triangles in a line, with the first and third pointing up and the middle one pointing down. The upper triangle seems to be too small - any ideas on how to adjust this?
Is there another way to achieve this desired triangle arrangement?
.lower {
border-width: 50px;
border-color: black red green blue;
border-style: solid;
}
.upper {
border-width: 50px 50px 0 50px;
border-color: black transparent transparent transparent;
border-style: solid;
height: 50px;
}
<div class="triangles">
<span class="lower"></span>
<span class="upper"></span>
<span class="lower"></span>
</div>