I'm currently working on creating a responsive triangle using CSS. I want both the height and width of the triangle to adjust as the window size changes.
Below is my static code:
#triangle {
z-index: 2;
width: 0;
height: 0;
position:absolute;
right:0px;
bottom:0px;
border-style: solid;
border-width: 0 0 600px 1100px;
border-color: transparent transparent #01fe77 transparent;
line-height: 0px;
_border-color: #000000 #000000 #01fe77 #000000;
_filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
}