I have a triangle in the top left corner of my site
#corner {
position: absolute;
z-index: 999;
left: 0;
top: 0;
width: 0;
height: 0;
border-top: 50px solid #000;
border-bottom: 50px solid transparent;
border-right: 50px solid transparent;
border-left: 50px solid #000;
}
<div id="corner"></div>
EDIT - I want it to have a 5px red border (only on the angled side) so the triangle and the border are different colors
Ideally it will have a .png image over-top as well, but I can put another div over-top if need be
This is a corner triangle for the whole page