如何运用CSS写小三角

<html>

  <div class="con"></div>

</html>

<style>

  .con{width:0; height:0; border-width:10px; border-style:solid; border-color:#f40 #f40 transparent transparent;}

</style>

posted @ 2015-09-28 16:39  时光年轮  阅读(128)  评论(0)    收藏  举报