我通过塑造一个div来为我的网站的标题做了一个颠倒的三角形。这是CSS。div中的背景
.triangle{
width: 0;
height: 0;
border-style: solid;
border-width: 100px 49vw 0 49vw;
margin-top:-8px;
border-color: gray transparent transparent transparent;
width:0;
height:0;
}
代替灰色作为背景色,我想插入符合三角形的图像。有没有人有任何想法?
感谢 亚历克