原理: 创建一个width, height都为0,从而border共同构成一个正方形; 将border的颜色设置为transparent,存在但是看不到; 设置top border的颜色,使其存在且可以看到,它与相邻侧的border的边界是45°斜角,表现为三角形。