iter: d20 progress 支持不确定态
This commit is contained in:
@@ -893,6 +893,23 @@
|
||||
animation: none;
|
||||
opacity: 0;
|
||||
}
|
||||
/* 不确定态:固定比例填充块匀速往复,宽度与位移都由动画控制 */
|
||||
.ua-progress-fill.ua-indeterminate {
|
||||
width: 35%;
|
||||
transition: none;
|
||||
animation: ua-indeterminate 1.2s ease-in-out infinite;
|
||||
}
|
||||
.ua-progress-fill.ua-indeterminate::after {
|
||||
animation: none;
|
||||
}
|
||||
@keyframes ua-indeterminate {
|
||||
from {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
to {
|
||||
transform: translateX(285%);
|
||||
}
|
||||
}
|
||||
@keyframes ua-stripe {
|
||||
to {
|
||||
background-position: 17px 0;
|
||||
|
||||
Reference in New Issue
Block a user