Jquery jelly jitter implementation method and jquery jelly jitter implementation
This article describes how to implement the jitter Effect of jquery jelly. Share it with you for your reference.
The specific implementation method is as follows:
Copy codeThe Code is as follows:
<Html>
<Head>
<Script type = "text/javascript" src = "jquery-1.8.2.min.js"> </script>
<Script type = "text/javascript">
$ (Function (){
$ ("Div"). mouseover (function (){
$ (This). animate ({"width": "320", "height": "100"}, 100 );
$ (This). animate ({"width": "310", "height": "90"}, 100 );
}). Mouseout (function (){
$ (This). animate ({"width": "300", "height": "80"}, 100 );
});
});
</Script>
<Style type = "text/css">
Div {width: 300px; height: 80px; border-radius: 8px; background: green; margin-top: 10px ;}
</Style>
</Head>
<Body style = "background-color: # e8e8e8;">
<Div> </div>
<Div> </div>
<Div> </div>
<Div> </div>
</Body>
</Html>
I hope this article will help you with jQuery programming.