Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //on hover addClass, then remove class
- $(document).ready(function(){
- $('div' ).hover(
- function(){
- $(this).addClass('active');
- },
- function(){
- $(this).removeClass('active');
- }
- );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement