I currently have an animated GIF file set as the background image for my div, which was specifically configured in Photoshop to loop only once. Therefore, it only plays on the initial page load.
Is there a way to reset the background image upon page refresh? Essentially tricking the DOM into thinking it's a new image so that it loops again?
Below is the HTML for the div:
<div id="name-logo"></div>
And here is the corresponding CSS:
position: relative;
width: 403px;
height: 93px;
margin: 50px auto 100px;
background-image: url(my.gif);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
Thank you