日期:2014-05-16  浏览次数:20312 次

有人知道一些网站上的文字或图片你只要onmouseover文字或图片的位置就往下一象素的效果!例如:
http://www.ymvogue.com/shop/

好象不是两张图片来回倒,谢谢了

------解决方案--------------------
那个只是CSS设置了a的段落变化。。。
<html>
<head>
<style type= "text/css ">
a:link {
line-height:100%;
}
a:hover {
line-height:150%;
}
div {
font-size:12px;
height:30px;
}
</style>
</head>
<body>
<div> <a href= "http://community.csdn.net/ " target= "_blank "> 文字 </a> </div>
<div> <a href= "http://community.csdn.net/ " target= "_blank "> 文字 </a> </div>
</body>
</html>