Google lighthouse is saying "Unsupported CSS Properties: background-position-x, background-position-y"
I currently have a skeleton-ui that's being used when images or certain things are loading.
According to the docs https://web.dev/animations-guide/ it says to use transform but so far I am not able to get it to animate the same way.
This is the current CSS I have
.sc-skeleton {
background-color: $gray-ten;
background-image: linear-gradient(90deg, $gray-ten, $gray-eight, $gray-ten);
background-repeat: no-repeat;
background-size: 200px 100%;
display: block;
line-height: 1;
width: 100%;
border-radius: 2px;
margin-bottom: 8px;
animation: sc-skeleton-loading 1.8s ease-in-out 5;
}
@keyframes sc-skeleton-loading {
0% {
background-position: -200px 0;
}
100% {
background-position: calc(200px + 100%) 0;
}
}
