Applying effect to scrollar mouse

Asked

Viewed 28 times

0

I’ve separated my website by sessions:

<section id="parte1"></section>
<section id="parte2"></section>
<section id="parte3"></section>

And I’d like to apply an effect when I scroll the mouse, like this http://tympanus.net/codrops/2013/07/02/loading-effects-for-grid-items-with-css-animations/

My layout is a little different from this plugin demo, because I have no images as is there.

I’d have to put the <section> within the li? As an example of the plugin:

<ul class="grid effect-4" id="grid">
    <li><a href="http://drbl.in/fWMM"><img src="images/1.jpg"></a></li>
    <li><a href="http://drbl.in/fWPV"><img src="images/2.jpg"></a></li>
    <li><a href="http://drbl.in/fWMT"><img src="images/3.jpg"></a></li>
    <li><a href="http://drbl.in/fQdt"><img src="images/4.png"></a></li>
    <!-- ... -->
</ul>
  • Filipe voted to close because of organization because I think the question I referred to solves your problem. So you just need to adjust the code that is there in the answer. If you create a jsFiddle I can help you fine tune.

  • this one: http://codepen.io/claviska/pen/cybdG

  • @Sergio got a little complicated seeing his explanation

  • @Felipestoker saw jsFiddle in the answer? can you adapt to your case?

  • @Sergio in my case I don’t have p I want it to be straight on <section>, I took this Jsfiddle that you made http://jsfiddle.net/4fxXb/

  • 1

    @Felipestoker puts in your HTML. If you can’t get it to work with your HTML and by adapting my JS/jQuery put it here that I help. But you have to put in your HTML and try...

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.