Your CSS code with less effort
Get a CSS-only Triangle Shape made with a single-element and modern CSS. Stop Using obsolete methods!
Select the element type:
<div class="triangle">
<img class="triangle">
Click the shape to copy the CSS