You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
935 B
41 lines
935 B
.wux-skeleton-paragraph {
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
.wux-skeleton-paragraph__row {
|
|
height: 32rpx;
|
|
background: #f2f2f2;
|
|
width: 100%;
|
|
margin-top: 32rpx
|
|
}
|
|
.wux-skeleton-paragraph__row:first-child {
|
|
margin-top: 0
|
|
}
|
|
.wux-skeleton-paragraph__row:nth-child(4n+1) {
|
|
width: 80%
|
|
}
|
|
.wux-skeleton-paragraph__row:nth-child(4n+2) {
|
|
width: 100%
|
|
}
|
|
.wux-skeleton-paragraph__row:nth-child(4n+3) {
|
|
width: 70%
|
|
}
|
|
.wux-skeleton-paragraph__row:nth-child(4n+4) {
|
|
width: 85%
|
|
}
|
|
.wux-skeleton-paragraph--rounded .wux-skeleton-paragraph__row {
|
|
border-radius: 8rpx
|
|
}
|
|
.wux-skeleton-paragraph--active .wux-skeleton-paragraph__row {
|
|
background: linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);
|
|
animation: loading 1.4s ease infinite;
|
|
background-size: 400% 100%
|
|
}
|
|
@keyframes loading {
|
|
0% {
|
|
background-position: 100% 50%
|
|
}
|
|
100% {
|
|
background-position: 0 50%
|
|
}
|
|
}
|