Difference between revisions of "Team:Virginia"
Line 83: | Line 83: | ||
</div> | </div> | ||
</footer> | </footer> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
footer div img { | footer div img { | ||
Line 309: | Line 304: | ||
} | } | ||
.box{ | .box{ | ||
− | width: | + | width:60%; |
height:100px; | height:100px; | ||
display:inline-block; | display:inline-block; | ||
− | margin-left: | + | margin-left:20%; |
margin-top:25px; | margin-top:25px; | ||
margin-bottom:10px; | margin-bottom:10px; | ||
Line 341: | Line 336: | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
$(".box").mouseenter(function(){ | $(".box").mouseenter(function(){ | ||
− | $(this).css(" | + | $(this).css("width","80%"); |
+ | $(this).css("margin-left","10%"); | ||
+ | }); | ||
+ | $(".box").mouseleave(function(){ | ||
$(this).css("width","60%"); | $(this).css("width","60%"); | ||
$(this).css("margin-left","20%"); | $(this).css("margin-left","20%"); | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}); | }); | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:43, 4 July 2015