mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:08:55 +08:00
35711ace89
* feat:增加 animation-duration,可以控制所有动画时长,也能用于一次性关闭所有动画效果 * 补充文档
18 lines
314 B
SCSS
18 lines
314 B
SCSS
.#{$ns}Progress {
|
|
height: 10px;
|
|
background: #ebebeb;
|
|
overflow: hidden;
|
|
|
|
&-bar {
|
|
float: left;
|
|
width: 0;
|
|
height: 100%;
|
|
font-size: 12px;
|
|
line-height: 10px;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: var(--primary);
|
|
transition: width var(--animation-duration) ease;
|
|
}
|
|
}
|