Reputation: 1896
I've already managed to succeed in doing the same task with the horizontal scrollbar visible when resizing the window (as you can see at click here #1) but now I want to avoid this undesidered behaviour. I thought to replace the "left" property with "background-position:" in the css and in the js file, but the animation doesn't work at all.... has anyone a clue? Here is my last version: click here #2
Upvotes: 1
Views: 1539
Reputation: 51820
You need to put the animating elements inside a div container that has the CSS property overflow:hidden
Upvotes: 1