Two questions in one here, and I'm not sure if that's ok, just tell me and I'll rephrase and repost as two posts if that is better.
#upTriangle{
margin: 0px 30px 190px 30px;
width:0px;
height:0px;
background-color:white;
border-bottom:red 60px solid;
border-right:transparent 30px solid;
border-left:transparent 30px solid;
border-top:transparent 60px solid;
}
#rightTriangle{
margin: 50px 0px 0px 0px;
width:0px;
height:0px;
background-color:white;
border-left:red 60px solid;
border-bottom:transparent 30px solid;
border-right:transparent 60px solid;
border-top:transparent 30px solid;
}
<button type="button" id="upTriangle">
</button>
<button type="button" id="rightTriangle">
</button>
The upwardpointing triangle is blunt while the rightwardpointing isnt. The author of this guide doesnt seem to have this problem. How can I fix this? Adding height to 70px for rightTriangle makes them both equally blunt but that isnt really what I want..
I want the triangles aligned with each other so that the center of each are on the same horizontal line. I've tried fiddling around with the margins but that only makes them both move up and down. How can I fix this?