Breaks outside of content-wrapper div? What is in the div that makes it work?
jasonbrewer opened this issue · 1 comments
in the simple Demo #2
If you move the<h2 id="fly-it">Fly It</h2>
outside of the content-wrapper div it no longer works?
I'm trying to recreate this effect but I'm not sure what's happening inside the content-wrapper div that gives this functionality.
If you move it outside the <div id="examples-1">
div but STILL INSIDE the content wrapper it works fine.
What is happening in the content-wrapper css that makes this effect work.
Thanks
Hi Jason,
I'm asuming you're referring to http://johnpolacek.github.io/superscrollorama/simpledemo2.html
I am guessing what changes is the CSS conditions for the fly-it Element.
Compare the css settings for #content-wrapper and #examples-1 to find out what changes.
If this doesn't help please provide demos of your page so we can help you debugging.
regards,
Jan