Javascript examples for jQuery Method and Property:mouseover
Mouse over in blocks of cards
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("p").hover(function(){ $(this).css("background-color", "green"); }, function(){//from ww w.j a va2 s. c om $(this).css("background-color", "pink"); }); }); </script> </head> <body> <p>Hover the mouse pointer over this paragraph.</p> </body> </html>