代码:
<style>
div{
width: 0;
height: 0;
border-left: 10px solid red;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
</style>
</head>
<body>
<div></div>
</body>
结果: