I’ve come across a number of sites that touch on how to create triangles by using only CSS. ¬†Most recently, I came across a site that acts as a nice reference for triangles and whole lot more:

https://css-tricks.com/examples/ShapesOfCSS/