如何更新它以填充动画进度条?添加动画以填充进度条
https://jsfiddle.net/dfkLexuv/2/
.progress-bar-outer {
width: 300px;
height: 40px;
flex: auto;
display: flex;
flex-direction: row;
border-radius: 0.5em;
overflow: hidden;
background-color: gray;
}
.progress-bar-inner {
/* You can change the `width` to change the amount of progress. */
width: 75%;
height: 100%;
background-color: red;
}
.progress-bar-inner2 {
/* You can change the `width` to change the amount of progress. */
width: 50%;
height: 100%;
background-color: green;
}
<div class="progress-bar-outer">
<div class="progress-bar-inner">
</div>
<div class="progress-bar-inner2">
</div>
</div>
看看这个[问题](https://stackoverflow.com/questions/29416077/css3-keyframe-progress-bar) –
如果你正在寻找一个JavaScript解决方案,请上传你已经尝试了什么那没用。 – j08691