1.三角形
div {
width: 0;
height: 0;
border-top: 40px solid blue;
border-right: 40px solid red;
border-left: 40px solid red;
border-bottom: 40px solid blue;
}
div {
width:0px;
heigth:0px;
border-top: 40px solid red;
border-right: 40px solid transparent;
border-left: 40px solid transparent;
}
div{
width: 0px;
height: 0px;
border-top: 40px solid red;
border-right: 40px solid transparent;
}