@gdjiami/jm-mrc-components
Version:
移动端可复用组件库
70 lines (61 loc) • 1.12 kB
CSS
.jm-activity-indicator {
display: flex;
align-items: center;
z-index: 99;
}
.jm-activity-indicator-sm {
height: 30px;
}
.jm-activity-indicator-lg {
height: 50px;
}
.jm-activity-indicator-spinner {
height: 30px;
}
.jm-activity-indicator-spinner-lg {
height: 50px;
}
.jm-activity-indicator-toast {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-content: center;
text-align: center;
}
.jm-activity-indicator-content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
border-radius: 10px;
background-clip: padding-box;
color: #fff;
line-height: 1.5;
}
@-webkit-keyframes stretchdelay {
0%,
40%,
100% {
-webkit-transform: scaleY(0.4);
}
20% {
-webkit-transform: scaleY(1);
}
}
@keyframes stretchdelay {
0%,
40%,
100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
}
20% {
transform: scaleY(1);
-webkit-transform: scaleY(1);
}
}