<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
a {
color: aliceblue;
text-decoration: none;
}
.div1 {
width: 122px;
height: 58px;
background-image: url(bg1.png);
background-repeat: no-repeat;
display: inline-block;
text-align: center;
line-height: 50px;
}
.div2 {
width: 122px;
height: 58px;
background-image: url(bg2.png);
background-repeat: no-repeat;
display: inline-block;
text-align: center;
line-height: 50px;
}
.div3 {
width: 122px;
height: 58px;
background-image: url(bg3.png);
background-repeat: no-repeat;
display: inline-block;
text-align: center;
line-height: 50px;
}
.div4 {
width: 122px;
height: 58px;
background-image: url(bg4.png);
background-repeat: no-repeat;
display: inline-block;
text-align: center;
line-height: 50px;
}
div.div1:hover {
background-image: url(bg5.png);
}
div.div2:hover {
background-image: url(bg6.png);
}
div.div3:hover {
background-image: url(bg7.png);
}
div.div4:hover {
background-image: url(bg8.png);
}
</style>
</head>
<body>
<div class="div1"><a href="#">五彩导航</a></div>
<div class="div2"><a href="#">五彩导航</a></div>
<div class="div3"><a href="#">五彩导航</a></div>
<div class="div4"><a href="#">五彩导航</a></div>
</body>
</html>