两端是圆角的进度条
程序员文章站
2022-07-09 09:02:30
...
.progress-bar-container { background-color: gray; height: 10px; width: 120px; border-radius: 5px; overflow: hidden; .progress-bar { height: 10px; background-color: green; } }
<div class="progress-bar-container"> <div [style.width]="goalAndAccount.savingPercentage" class="progress-bar"></div> </div>
下一篇: sql 分组 case when 写法