zoukankan      html  css  js  c++  java
  • 圆柱形进度条

    <style type="text/css">
        .weizhu_yuanzhu {
            position: relative;
            width: 50px;
            height: 10rem;
            background: #FFF;
            margin: 30px auto;
            z-index: 999;
            border-left:black 0.5px solid;
            border-right:black 0.5px solid;
            box-sizing: border-box;
        }
    
        .weizhu_yuanzhu:before {
            position: absolute;
            top: -10px;
            content: "";
            display: block;
            width: 50px;
            height: 20px;
            border-radius: 50%;
            background: #FFF;
            z-index: 99;
            border-left:black 0.5px solid;
            border-right:black 0.5px solid;
            border-top: black 0.5px solid;
            box-sizing: border-box;
        }
    
        .weizhu_yuanzhu:after {
            position: absolute;
            bottom: -10px;
            content: "";
            display: block;
            width: 50px;
            height: 20px;
            border-radius: 50%;
            background: #317BFF;
            z-index: 9;
            border-left:black 0.5px solid;
            border-right:black 0.5px solid;
            border-bottom: black 0.5px solid;
            box-sizing: border-box;
        }
    
        .weizhu_yuanzhu_inset {
            position: absolute;
            bottom: 0;
            width: 49px;
            background: #5ac8fa;
            z-index: 999;
            color: #FFF;
            transition: 0.5s;
            box-sizing: border-box;
        }
    
        .weizhu_yuanzhu_inset:before {
            position: absolute;
            top: -10px;
            content: "";
            display: block;
            width: 49px;
            height: 20px;
            border-radius: 50%;
            background: #5ac8fa;
            z-index: 99;
            border-top: black 0.5px solid;
            border-bottom: black 0.5px solid;
            box-sizing: border-box;
        }
    
        .weizhu_yuanzhu_inset:after {
            position: absolute;
            bottom: -10px;
            content: "";
            display: block;
            width: 50px;
            height: 20px;
            border-radius: 50%;
            background: #5ac8fa;
            z-index: 9;
            border-top: black 0.5px solid;
            border-bottom: black 0.5px solid;
            box-sizing: border-box;
        }
    
        .weizhu_percent{
            text-align: center;
            font-size: 1.2rem;
            font-weight: bolder;
            color: #317BFF;
        }
        </style>
            <div class="weizhu_yuanzhu">
                <div class="weizhu_yuanzhu_inset" style="height:50%">    </div>
            </div>    

  • 相关阅读:
    [reviewcode] 那些基础comments
    os.path.join
    python中unicode, hex, bin之间的转换
    sorted倒序
    python 连接docker
    SpringSecurity学习之基于数据库的用户认证
    SpringSecurity学习之快速上手
    深入理解SpringCloud之Eureka注册过程分析
    深入理解SpringCloud之分布式配置
    深入理解SpringBoot之装配条件
  • 原文地址:https://www.cnblogs.com/shark1100913/p/13905286.html
Copyright © 2011-2022 走看看