• 用css3写出的倒三角形


    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="gb2312" />
    <title>无标题文档</title>
    <style>
    .triangle-left {
    0;
    height:0;
    border-right:20px solid yellow;
    border-top:20px solid transparent;
    border-bottom:20px solid transparent;
    }

    .triangle-up {
    0;
    height:0;
    border-bottom:20px solid yellow;
    border-left:20px solid transparent;
    border-right:20px solid transparent;
    }
    .triangle-right {
    0;
    height:0;
    border-left:20px solid yellow;
    border-top:20px solid transparent;
    border-bottom:20px solid transparent;
    }
    .triangle-down {
    0;
    height:0;
    border-top:20px solid yellow;
    border-left:20px solid transparent;
    border-right:20px solid transparent;
    }
    </style>
    </head>

    <body>
    <div class="triangle-left"></div>
    <div class="triangle-up"></div>
    <div class="triangle-right"></div>
    <div class="triangle-down"></div>
    </body>
    </html>

    转载自:https://www.cnblogs.com/ll-taj/p/5222412.html

  • 相关阅读:
    ADV-拍卖
    poj1190生日蛋糕--DFS
    poj1562-DFS
    二叉树--先序中序遍历求后序遍历
    poj1753-Flip Game DFS解法
    Baby-gin
    OX Pattern
    C
    qi qiu

  • 原文地址:https://www.cnblogs.com/Better-Me/p/11652581.html
Copyright © 2020-2023  润新知