<style>
.box {
width: 0px;
height: 0px;
overflow: hidden;
border-width: 10px;
border-color: transparent transparent red transparent;
border-style: solid;
}
</style>
通过border-color 的透明属性来实现!