京东网页左侧边搜索栏建立
<!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>京东侧边栏导航效果模拟</title>
<style>
a{
text-decoration: none;
color: black;
}
a:hover{
color: hsl(20, 100%, 50%);
}
p:hover{
background-color: rgb(130, 144, 145);
}
</style>
<body>
<div id="nav">
<p class="line1">
<a href="#" >家