1.样式 display:inline-block;可改变a标签,合其可定义宽高
2.a:hover表示鼠标经过
3.background:url(110.png) bottom 表示:给链接一个图片 并底端对齐 代码
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style type="text/css"> a{ display: inline-block; width:67px; height:32px; background: url("110.png"); } a:hover{ background: url(110.png) bottom; } </style> <title></title> </head> <body> <a href="#"></a> </body> </html>