I have a button with a svg background that has also has an svg background for its hover. When I hover over it for the first time after the page loads, there is a flicker, but there is no flicker on any subsequent hover. I thought this may be a loading issue, but even if I load both images on the page independently or pre-load the images, this flicker still occurs so it isn't a loading issue. What is going on?
.minus{
background: url(https://www.svgrepo.com/show/294589/shuffle-random.svg);
background-size: cover;
border: 0;
display: block;
height: 20px;
width: 20px;
}
.minus:hover{
background: url(https://www.svgrepo.com/show/240096/shuffle-random.svg);
}
<button class="minus">