一个简单的跨浏览器的三角形

<div></div>
<style>
div{
    width:0;
    height:0;
    line-height:0;
    font-size:0;
    border-style:solid dashed dashed;
    border-color:red transparent transparent;
    border-width:10px 8px 8px;
}
</style>

你可能感兴趣的:(浏览器)