进程图html实现

37 篇文章 0 订阅

效果

代码部分

<!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>
          
          .stepRegister {
            overflow: hidden;
            margin-bottom: 4%;
        }
        
        .stepRegister .first,
        .stepRegister .third {
            width: 33%;
            float: left;
            text-align: center;
            position: relative;
        }
        
        .stepRegister .second {
            width: 34%;
            float: left;
            text-align: center;
            position: relative;
        }
        
        .stepRegister .first .number,
        .stepRegister .second .number,
        .stepRegister .third .number {
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            border-radius: 50%;
            background-color: #005bab;
            color: #fff;
            margin: 0 auto;
            margin-bottom: 10px;
        }
        
        .stepRegister .third .number {
            background-color: #9B9B9B;
        }
        
        .stepRegister .first .retail,
        .stepRegister .second .retail {
            font-size: 14px;
        }
        
        .stepRegister .third .retail {
            font-size: 14px;
            color: #9B9B9B;
        }
        
        .stepRegister .first .right-line {
            width: 46%;
            height: 2px;
            position: absolute;
            background: red;

            top: 18%;
            right: 0;
        }
        
        .stepRegister .second .left-line {
            width: 46%;
            height: 2px;
            position: absolute;
            background: red;
            top: 18%;
            left: 0;
        }
        
        .stepRegister .second .right-line {
            width: 46%;
            height: 2px;
            position: absolute;
            /* 小线条的颜色 */
            background: red;

            top: 18%;
            right: 0;
        }
        
        .stepRegister .third .left-line {
            width: 46%;
            height: 2px;
            background-color: #9B9B9B;
            position: absolute;
            top: 18%;
            left: 0;
        }
        
        .mui-bar {
            background-color: #fff;
            border: none;
            outline: none;
            box-shadow: none;
            margin-bottom: 20px;
        }
        
        .mui-bar-tab img {
            width: 36%;
        }
    </style>
</head>
<body>
      <!-- 三步 -->
      <section class="stepRegister">
        <div class="first">
            <div class="number">1</div>
            <div class="retail star">用户注册</div>
            <div class="right-line"></div>
        </div>

        <div class="second">
            <div class="left-line"></div>
            <div class="number">2</div>
            <div class="retail star">企业信息</div>
            <div class="right-line"></div>
        </div>

        <div class="third">
            <div class="left-line"></div>
            <div class="number">3</div>
            <div class="retail">开始使用</div>
        </div>
    </section>
</body>
</html>

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值