代码如下:

        <div>
            <div style="position: relative; height: 20px; width: 500px; border: 1px solid #ccc">
                <div style="position: absolute; height: 20px; width: 77.1%; background: #FF6666; color: #000;"></div>
                <div style="position: absolute; width: 100%; text-align: right;">77.1%</div>
            </div>
        </div>

效果如下:

html中静态进度条的实现

 

相关文章:

  • 2021-12-10
  • 2021-04-06
  • 2021-06-07
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-17
相关资源
相似解决方案