【实现三角】css的border属性解决方案
.to-top{
display:block;
overflow:hidden;
width:0;
height:0;
border:6px solid;
border-color:#ccc #fff;
border-width:6px 6px 0 6px;
}
.to-top{
display:block;
overflow:hidden;
width:0;
height:0;
border:6px solid;
border-color:#ccc #fff;
border-width:6px 6px 0 6px;
}