您的位置:首页 > Web前端 > CSS

css画出三角形

2014-08-18 11:29 183 查看
<html>

  <head>

    <title>css.html</title>

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">

    <meta http-equiv="description" content="this is my page">

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
.down-triangle {

    width: 0;

    height: 0;

      border-width: 20px 20px 0 20px;

    border-style: solid;

    border-color: #dc291e transparent;
}
</style>

  </head>

  <body>

    <h3>Down Triangle</h3>

    <div class="down-triangle">

    </div>

  </body>

</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  css画出三角形