I know how to make a triangle with css, but a gradient triangle?
I got this far:
.triangle {
width: 0;
height: 0;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
border-bottom: 100px solid black;
}
.triangle {
background-image: linear-gradient(to bottom right, black, blue);
}
<div class="triangle"></div>