支流浏览器根本都反对
<div class="triangle"></div>
.triangle{
height: 200px;
width: 200px;
background-image: linear-gradient(to bottom right,red 50%, transparent 50%);
}
支流浏览器根本都反对
<div class="triangle"></div>
.triangle{
height: 200px;
width: 200px;
background-image: linear-gradient(to bottom right,red 50%, transparent 50%);
}