Progress Bar with HTML and CSS

前端 未结 15 1138
耶瑟儿~
耶瑟儿~ 2020-12-02 05:13

I want to create a progress bar like in the below image:

\"Progress

I have no idea about

15条回答
  •  感情败类
    2020-12-02 05:54

    .loading {
      position: relative;
      width: 50%;
      height: 200px;
      border: 1px solid rgba(160, 160, 164, 0.2);
      background-color: rgba(160, 160, 164, 0.2);
      border-radius: 3px;
    }
    
    span.loader {
      position: absolute;
      top: 40%;
      left: 10%;
      width: 250px;
      height: 20px;
      border-radius: 8px;
      border: 2px solid rgba(160, 160, 164, 0.8);
      padding: 0;
    }
    
    span.loader span.innerLoad {
      text-align: center;
      width: 140px;
      font-size: 15px;
      font-stretch: extra-expanded;
      color: #2A00FF;
      padding: 1px 18px 3px 80px;
      border-radius: 8px;
      background: rgb(250, 198, 149);
      background: -moz-linear-gradient(left, rgba(250, 198, 149, 1) 0%, rgba(245, 171, 102, 1) 47%, rgba(239, 141, 49, 1) 100%);
      background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(250, 198, 149, 1)), color-stop(47%, rgba(245, 171, 102, 1)), color-stop(100%, rgba(239, 141, 49, 1)));
      background: -webkit-linear-gradient(left, rgba(250, 198, 149, 1) 0%, rgba(245, 171, 102, 1) 47%, rgba(239, 141, 49, 1) 100%);
      background: -o-linear-gradient(left, rgba(250, 198, 149, 1) 0%, rgba(245, 171, 102, 1) 47%, rgba(239, 141, 49, 1) 100%);
      background: -ms-linear-gradient(left, rgba(250, 198, 149, 1) 0%, rgba(245, 171, 102, 1) 47%, rgba(239, 141, 49, 1) 100%);
      background: linear-gradient(to right, rgba(250, 198, 149, 1) 0%, rgba(245, 171, 102, 1) 47%, rgba(239, 141, 49, 1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fac695', endColorstr='#ef8d31', GradientType=1);
    }
    Loading...

提交回复
热议问题