样式如下:
div {
width: 0;
height: 0;
border-style: solid;
border-width:10px;
border-color: red transpanrent transparent transparent;
/*下面两个是为了兼容性才写的*/
font-size: 0;
line-height: 0;
}
样式如下:
div {
width: 0;
height: 0;
border-style: solid;
border-width:10px;
border-color: red transpanrent transparent transparent;
/*下面两个是为了兼容性才写的*/
font-size: 0;
line-height: 0;
}