最赞回答 / purple_yao
可以先判断动画是否执行: if (!$('.tip').is(':animated')){ $('.tip').css({'left':l+'px'}).animate({'top':180,'opacity':1},300);}
2014-12-01
已采纳回答 / __Breeze
a:hover{ background-position:0 -80px}表示当鼠标移到a上面时,它的背景向上偏移80px。height:40px; line-height:40px;——height是指a的高度,而line-height是指a的行高,两个是不同的概念。
2014-11-16