1.正三角形
方法A:
<style>
.box{
width: 0;
height: 0;
border-top: 50px solid transparent;
border-bottom: 50px solid red;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
}
</style>
方法B:
<style>
.box{
width: 0px;
height:0px;
border: 50px solid;
border-color: transparent transparent red transparent;
}
</style>
2.倒立三角形
<style>
.box{ </