.box1 {
width: 0;
height: 0;
border-color: red green blue gray;
border-style: solid;
border-width: 20px;
}
.box2 {
width: 0;
height: 0;
border-color: transparent transparent black transparent;
border-style: solid;
border-width: 20px;
}
.box3 {
width: 0;
height: 0;
border-color: transparent transparent red red;
border-style: solid;
border-width: 20px 10px;
}
CSS 制作三角形
猜你喜欢
转载自blog.csdn.net/qq_14876133/article/details/107494170
今日推荐
周排行