您可以使用边框实现它:http://jsfiddle.net/wNhjb/ #shape { height: 0; width: 80px; border-top: 80px solid blue; border-left: 40px solid transparent; }