Responsive shine animation using linear-gradient as background
问题 I want to create a shine loading animation which will appear on multiple elements with different background colors. Currently, I'm using background-image gradient and I'm animating the background-position using vw units, but it's not scalable, my elements will have different lengths. Is there a way I can animate background-image with percentage units? The animation created body { background: black; } header { width: 100%; height: 50px; background-color: rebeccapurple; background-image: linear