例子
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<style>
div {
float: left;
width: 125px;
height: 60px;
margin-top: 7px;
background-size: cover;
font-size: 1em;
color: #ffffff;
text-align: center;
line-height: 45px;
margin: 10px 2px;
}
.aa {
background-image: url("bg1.png");
}
.bb {
background-image: url("bg2.png");
}
.cc {
background-image: url("bg3.png");
}
.dd {
background-image: url("bg4.png");
}
div:hover {
background-image: url("bg5.png");
}
/*
*/
</style>
</he