<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
.d1{
width: 100px;
height: 30px;
border: 1px solid black;
text-align: center;
line-height: 30px;
border-radius: 10px;
}
.d1:hover{
background-color: greenyellow;
color: red;
transition: 1s;
box-shadow: 5px 5px 5px black;
text-shadow: 2px 2px 2px black;
transform: rotateY(360deg);
opacity: 0.5;
}
a{
text-decoration: none;
color: black;
}
a:visited{
text-decoration: none;
color: black;
}
.d2{
width: 100px;
height: 100px;
border: 1px solid black;
position: relative;
}
.d2 div{
width: 50px;
height: 40px;
border: 1px solid black;
position: relative;
}
#xxx{
width: 30px;
height: 20px;
display: none;
}
.d2:hover #xxx{
color: red;
}
ul{
list-style-image: url(img/u=2842832265,1066299355&fm=26&gp=0)
}
ul li{
width: 50px;
}
</style>
</head>
<body>
<a href="#"><div class="d1">按 钮</div></a>
<div class="d2">
<div id="xxx">ABCD</div>
<div>1234</div>
</div>
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
</body>
</html>