12 Replies Latest reply on Oct 27, 2015 3:48 AM by hooskanoonun

    gif play on hover and restart after hover, not play in bg

    hooskanoonun

      How do I make a gif on my website play from the start every time I hover over it as opposed to playing from the last point I was hovering on it.

       

      #about {

          margin-left:0%;

          margin-right:0%;

          height: 100%;

          width:33.33%;

          float:left;

          background-image: url(img/static-showcase.png);

          background-size:cover;

          background-position: center;

          background-repeat: no-repeat;

      }

       

       

      #about:hover {

          background-image: url(img/showcase.gif);

       

       

      }