• CSS3 实现三角形


    实现三小效果展示

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            .flowchart {padding: 10px 15px 1px 10px; min- 500px;}
            .flow-item {float: left;  16.66667%; max- 180px; text-align: center; margin-bottom: 9px; padding-right: 5px;}
            .flow-item > div {position: relative; padding: 5px 0 5px 12px; line-height: 20px; background: #90A4AE; white-space:nowrap; overflow: visible; color: #fff;}
            .flow-item > div:before, .flow-item > div:after {content: ' '; display: block;  0; height: 0; border-style: solid; border- 15px 0 15px 15px; border-color: transparent transparent transparent #90A4AE; position: absolute; left: 0; top: 0}
            .ie-8 .flow-item > div:before {display: none}
            .flow-item > div:before {border-left-color: #fff; z-index: 1}
            .flow-item > div:after {left: auto; right: -14px; z-index: 2}
            .ie-8 .flow-item > div {margin-right: 10px}
            .flow-item-0 > div:before {display: none}
            .flow-item-1 > div {background: #1976D2}
            .flow-item-1 > div:after {border-left-color: #1976D2}
            .flow-item-2 > div {background: #4CAF50}
            .flow-item-2 > div:after {border-left-color: #4CAF50}
            .flow-item-3 > div {background: #F57C00}
            .flow-item-3 > div:after {border-left-color: #F57C00}
            .flow-item-4 > div {background: #EF5350}
            .flow-item-4 > div:after {border-left-color: #EF5350}
            .flow-item-5 > div {background: #AB47BC}
            .flow-item-5 > div:after {border-left-color: #AB47BC}
    
            .flow-item-1 > div:hover {background: #1565C0}
            .flow-item-1 > div:hover:after {border-left-color: #1565C0}
            .flow-item-2 > div:hover {background: #43A047}
            .flow-item-2 > div:hover:after {border-left-color: #43A047}
            .flow-item-3 > div:hover {background: #EF6C00}
            .flow-item-3 > div:hover:after {border-left-color: #EF6C00}
            .flow-item-4 > div:hover {background: #E53935}
            .flow-item-4 > div:hover:after {border-left-color: #E53935}
            .flow-item-5 > div:hover {background: #9C27B0}
            .flow-item-5 > div:hover:after {border-left-color: #9C27B0}
            html[lang="en"] .flowchart {min- 700px}
    
        </style>
    </head>
    
    <body>
        <div class="row">
            <div class="flow-item flow-item-0"><div>测试人员</div></div>
            <div class="flow-item flow-item-1"><div>撰写用例</div></div>
            <div class="flow-item flow-item-2"><div>执行用例</div></div>
            <div class="flow-item flow-item-3"><div>提交Bug</div></div>
            <div class="flow-item flow-item-4"><div>验证Bug</div></div>
            <div class="flow-item flow-item-5"><div>关闭Bug</div></div>
          </div>
    </body>
    
    </html>
    
    
  • 相关阅读:
    (数据看成字符串)大端——高尾端,小端——低尾端链接
    ASP.NET 页生命周期概述
    asp.net web 开发登录相关操作的控件LoginName、LoginStatus和LoginView控件使用详解
    Server.MapPath()目录详解
    C# ASP.NET FILEUPLOAD详解
    HTML中id、name、class 区别
    注册表新建 -------DWORD(32-位)
    XSD标准架构-----<xsd:element> 元素详解
    html5学习链接
    关于HSL和HSV颜色空间的详细论述
  • 原文地址:https://www.cnblogs.com/snmic/p/10407378.html
Copyright © 2020-2023  润新知