实现下拉菜单缓慢显示,鼠标移出缓慢消失
html代码部分
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="../css/04-21.css">
<script src="../js/jquery.min.js"></script>
</head>
<body>
<div class="select">
<ul>
<li><a href="">一级菜单</a>
<ul>
<li><a href="">二级菜单</a></li>
<li><a href="">二级菜单</a></li>
<li><a href="">二级菜单</a></li>
<li><a href="">二级菜单</a></li>
</ul>
</li>
<li><a href="">一级菜单</a>
<ul>
<li><a href="">二级菜单