发布网友 发布时间:2024-10-23 16:57
共1个回答
热心网友 时间:2024-11-07 17:18
body { font-family:"宋体", "微软雅黑", "Arial Narrow"; font-size:12px; line-height:22px; }.pin { margin-left:500px; float:left; }.pin .box { width: 236px; marginp:5px; padding:8px; float:left; margin-left:30px; border: 1px solid #ddd; text-align: center; } $(document).ready(function() { $("img").css("opacity", "0.5"); $(".box img").hover(function(){ $(this).animate({"opacity": 1}); },function(){ $(this).animate({"opacity": 0.5}); }); });
">
">