Difference between revisions of "Team:Virginia"
Line 341: | Line 341: | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
$(".box").mouseenter(function(){ | $(".box").mouseenter(function(){ | ||
− | $(this). | + | $(this).css("opacity","0.7"); |
+ | $(this).css("width","60%"); | ||
+ | $(this).css("margin-left","20%"); | ||
}); | }); | ||
+ | $(".box").mouseleave(function(){ | ||
+ | $(this).css("opacity","1"); | ||
+ | $(this).css("width","80%"); | ||
+ | $(this).css("margin-left","10%"); | ||
+ | }); | ||
+ | |||
}); | }); | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:54, 29 June 2015