antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
19 lines (17 loc) • 511 B
CSS
.adm-progress-bar {
--track-width: var(--adm-progress-bar-track-width, 6px);
--track-color: var(--adm-progress-bar-track-color, #e5e5e5);
--fill-color: var(--adm-progress-bar-fill-color, var(--adm-color-primary));
}
.adm-progress-bar-trail {
background: var(--track-color);
overflow: hidden;
height: var(--track-width);
border-radius: var(--track-width);
}
.adm-progress-bar-fill {
transition: width 0.3s;
background: var(--fill-color);
height: 100%;
border-radius: var(--track-width);
}