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.
33 lines
536 B
33 lines
536 B
.p-skeleton {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.p-skeleton::after {
|
|
content: "";
|
|
animation: p-skeleton-animation 1.2s infinite;
|
|
height: 100%;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
transform: translateX(-100%);
|
|
z-index: 1;
|
|
}
|
|
|
|
.p-skeleton.p-skeleton-circle {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.p-skeleton-none::after {
|
|
animation: none;
|
|
}
|
|
|
|
@keyframes p-skeleton-animation {
|
|
from {
|
|
transform: translateX(-100%);
|
|
}
|
|
to {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|