At first I used Javascript only, something like this:
var count = 0
setInterval(function() {
if (count == -345) {
count = 0
}
$('.hero-image').css('background-position', "0 " + count + "px")
count -= 1
}, 15)
Code (markup):
Better css animation
from HTML & Website Design http://ift.tt/29gQsKU
via IFTTT
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon