@property --ap-skeleton_background-position-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 200%;
}

body.has-skeletons {
  animation: 2s linear infinite anim-skeleton-shimmer;
}

@media (prefers-reduced-motion) {
  body.has-skeletons {
    animation: none;
  }
}

@keyframes anim-skeleton-shimmer {
  0% {
    --ap-skeleton_background-position-x: 200%;
  }

  100% {
    --ap-skeleton_background-position-x: -200%;
  }
}

