代码:

<div class="dropdown">
<span><img src="#"></span>
<div class="dropdown-content">
<a href="1">VIP链接预留 </a>
<a href="1">VIP链接预留 </a>
</div>
</div>
<style>
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #ffffff;
min-width: 120px;
box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.2);
padding: 5px 10px;
}
.dropdown:hover .dropdown-content {
display: block;
}
</style>