I've been trying to use looper.js to loop through various words or images inside a div (examples)
Everything seems to work OK except when I use the crossfade animation option (class="xfade"
).
The content appears only during animations, and is otherwise invisible.
This is fixed by commenting out position: relative
in .looper .looper-inner
:
.looper .looper-inner {
overflow: hidden;
width: 100%;
height: auto;
/*position: relative;*/
z-index: 2;
}
BUT it is not an acceptable solution since it messes up my responsive layout on mobile.
I guess it must be a noob mistake on my part since I'm using default official examples...
DEMO: jsfiddle
Thank you for your help.