方法一:行高
a{line-height:22px;}
a:hover{line-height:21px;}
方法二:定位
a{position:absolute;top:0;}
a:hover{top:-1px;}
方法一:行高
a:hover{line-height:21px;}
方法二:定位
a:hover{top:-1px;}
转载于:https://www.cnblogs.com/sunnywindycloudy/p/7388184.html