如何更新它以填充動畫進度條?添加動畫以填充進度條
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