I have a div element with a big image background css rule.
Now I would like to slide the image in x-axis smoothly, is there any lightweight plugin or snippet?
Any suggestions are appreciated!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s the style for webkit: http://jsbin.com/uzifag/2/
Note that I’m moving the background-position to negative width of the image. If you want it to be the opposite direction, positive width will work. You can play with the duration of the animation as suits your needs.